summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/device.h
diff options
context:
space:
mode:
authorKevin Hilman2011-07-21 22:58:51 +0200
committerKevin Hilman2011-09-16 01:35:47 +0200
commitd66b3fe436a296f102e8944247972fc0c17ddf26 (patch)
treed1b15398c457f54380fb50ed3fb8d6756043cb0c /arch/arm/include/asm/device.h
parentOMAP: omap_device: _disable_idle_on_suspend() takes platform_device pointer (diff)
downloadkernel-qcow2-linux-d66b3fe436a296f102e8944247972fc0c17ddf26.tar.gz
kernel-qcow2-linux-d66b3fe436a296f102e8944247972fc0c17ddf26.tar.xz
kernel-qcow2-linux-d66b3fe436a296f102e8944247972fc0c17ddf26.zip
OMAP: omap_device: decouple platform_device from omap_device
Rather than embedding a struct platform_device inside a struct omap_device, decouple them, leaving only a pointer to the platform_device inside the omap_device. Use the arch-specific data field of the platform_device (pdev_archdata) to add an omap_device pointer after the platform_device has been created. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/include/asm/device.h')
0 files changed, 0 insertions, 0 deletions