diff options
author | David S. Miller | 2007-07-19 05:59:54 +0200 |
---|---|---|
committer | David S. Miller | 2007-07-21 02:13:25 +0200 |
commit | e865f3e6f4ef2d2617f5003c7c819ed15b5a511b (patch) | |
tree | 3f1833c91273c3c4d774804157bf45eeeda647e2 /include/asm-sparc/device.h | |
parent | [SPARC]: Fix serial console device detection. (diff) | |
download | kernel-qcow2-linux-e865f3e6f4ef2d2617f5003c7c819ed15b5a511b.tar.gz kernel-qcow2-linux-e865f3e6f4ef2d2617f5003c7c819ed15b5a511b.tar.xz kernel-qcow2-linux-e865f3e6f4ef2d2617f5003c7c819ed15b5a511b.zip |
[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.h | 14 |
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 @@ * * 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 */ + |