From: Kevin Hilman Date: Tue, 6 Sep 2011 20:04:10 +0000 (+0100) Subject: ARM: 7082/1: platform_device: pdev_archdata: add omap_device pointer X-Git-Tag: next-20110913~103^2~1^4~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=456f69c544d4298e921dc0c606492cdbaa60b34b;p=karo-tx-linux.git ARM: 7082/1: platform_device: pdev_archdata: add omap_device pointer Add omap_device pointer to the ARM-specific arch data in the platform_device. This will be used to attach OMAP-specific device-data to the platform device with device lifetime. Suggested-by: Russell King Acked-by: Grant Likely Signed-off-by: Kevin Hilman Signed-off-by: Russell King --- diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h index 9f390ce335cb..b5c9f5b1f6a3 100644 --- a/arch/arm/include/asm/device.h +++ b/arch/arm/include/asm/device.h @@ -12,7 +12,12 @@ struct dev_archdata { #endif }; +struct omap_device; + struct pdev_archdata { +#ifdef CONFIG_ARCH_OMAP + struct omap_device *od; +#endif }; #endif