aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/device.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 23:59:54 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-20 20:13:25 -0400
commite865f3e6f4ef2d2617f5003c7c819ed15b5a511b (patch)
tree3f1833c91273c3c4d774804157bf45eeeda647e2 /include/asm-sparc/device.h
parentc73fcc846c91f53fd2c67fd9c6c04888a9e5892e (diff)
[SPARC]: Define minimal struct dev_archdata, similarly to sparc64.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/device.h')
-rw-r--r--include/asm-sparc/device.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-sparc/device.h b/include/asm-sparc/device.h
index d8f9872b0e2d..4a56d84d69c4 100644
--- a/include/asm-sparc/device.h
+++ b/include/asm-sparc/device.h
@@ -3,5 +3,17 @@
3 * 3 *
4 * This file is released under the GPLv2 4 * This file is released under the GPLv2
5 */ 5 */
6#include <asm-generic/device.h> 6#ifndef _ASM_SPARC_DEVICE_H
7#define _ASM_SPARC_DEVICE_H
8
9struct device_node;
10struct of_device;
11
12struct dev_archdata {
13 struct device_node *prom_node;
14 struct of_device *op;
15};
16
17#endif /* _ASM_SPARC_DEVICE_H */
18
7 19