summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2011-09-06 21:04:10 +0100
committerKevin Hilman <khilman@ti.com>2011-09-21 10:45:59 -0700
commitfbe01f51a8260c1f0a66e8730c4fd2c5160ecb91 (patch)
tree57a04b8d56e3369f874bd800a29ca0bbe14395af /arch
parentd66b3fe436a296f102e8944247972fc0c17ddf26 (diff)
downloadlinux-stable-fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91.tar.gz
linux-stable-fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91.tar.bz2
linux-stable-fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91.zip
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 <rmk+kernel@arm.linux.org.uk> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/device.h5
1 files changed, 5 insertions, 0 deletions
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