projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73fcc8
)
[SPARC]: Define minimal struct dev_archdata, similarly to sparc64.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 19 Jul 2007 03:59:54 +0000
(20:59 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 21 Jul 2007 00:13:25 +0000
(17:13 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc/device.h
patch
|
blob
|
history
diff --git
a/include/asm-sparc/device.h
b/include/asm-sparc/device.h
index d8f9872b0e2dc3587a9e658adc957f093b7906fb..4a56d84d69c427d461ff8ba097d21ba75dc4365b 100644
(file)
--- a/
include/asm-sparc/device.h
+++ b/
include/asm-sparc/device.h
@@
-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 */
+