]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ARM: 7082/1: platform_device: pdev_archdata: add omap_device pointer
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 6 Sep 2011 20:04:10 +0000 (21:04 +0100)
committerKevin Hilman <khilman@ti.com>
Wed, 21 Sep 2011 17:45:59 +0000 (10:45 -0700)
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>
arch/arm/include/asm/device.h

index 9f390ce335cb00743cb6cd717819f0750b63b0db..b5c9f5b1f6a374de13b23103985985051f537889 100644 (file)
@@ -12,7 +12,12 @@ struct dev_archdata {
 #endif
 };
 
+struct omap_device;
+
 struct pdev_archdata {
+#ifdef CONFIG_ARCH_OMAP
+       struct omap_device *od;
+#endif
 };
 
 #endif