OMAP: omap_device: decouple platform_device from omap_device
authorKevin Hilman <khilman@ti.com>
Thu, 21 Jul 2011 20:58:51 +0000 (13:58 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 23:35:47 +0000 (16:35 -0700)
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>

No differences found