diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2011-09-06 22:04:10 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-21 19:45:59 +0200 |
commit | fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91 (patch) | |
tree | 57a04b8d56e3369f874bd800a29ca0bbe14395af /arch/arm/include/asm/device.h | |
parent | OMAP: omap_device: decouple platform_device from omap_device (diff) | |
download | linux-fbe01f51a8260c1f0a66e8730c4fd2c5160ecb91.tar.xz linux-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 |