diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2011-09-06 21:04:10 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-21 10:45:59 -0700 |
commit | fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91 (patch) | |
tree | 57a04b8d56e3369f874bd800a29ca0bbe14395af /arch/arm/include/asm/device.h | |
parent | d66b3fe436a296f102e8944247972fc0c17ddf26 (diff) | |
download | lwn-fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91.tar.gz lwn-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/arm/include/asm/device.h')
-rw-r--r-- | arch/arm/include/asm/device.h | 5 |
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 |