From fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 6 Sep 2011 21:04:10 +0100 Subject: 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 --- arch/arm/include/asm/device.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/include/asm/device.h') 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 -- cgit v1.2.3