From: David S. Miller Date: Thu, 19 Jul 2007 03:59:54 +0000 (-0700) Subject: [SPARC]: Define minimal struct dev_archdata, similarly to sparc64. X-Git-Tag: v2.6.23-rc1~192^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e865f3e6f4ef2d2617f5003c7c819ed15b5a511b;p=linux-2.6 [SPARC]: Define minimal struct dev_archdata, similarly to sparc64. Signed-off-by: David S. Miller --- diff --git a/include/asm-sparc/device.h b/include/asm-sparc/device.h index d8f9872b0e..4a56d84d69 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 +#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 */ +