[SPARC]: Define minimal struct dev_archdata, similarly to sparc64.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c73fcc846c
commit
e865f3e6f4
1 changed files with 13 additions and 1 deletions
|
@ -3,5 +3,17 @@
|
|||
*
|
||||
* This file is released under the GPLv2
|
||||
*/
|
||||
#include <asm-generic/device.h>
|
||||
#ifndef _ASM_SPARC_DEVICE_H
|
||||
#define _ASM_SPARC_DEVICE_H
|
||||
|
||||
struct device_node;
|
||||
struct of_device;
|
||||
|
||||
struct dev_archdata {
|
||||
struct device_node *prom_node;
|
||||
struct of_device *op;
|
||||
};
|
||||
|
||||
#endif /* _ASM_SPARC_DEVICE_H */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue