From: Kevin Hilman Date: Thu, 21 Jul 2011 20:58:51 +0000 (-0700) Subject: OMAP: omap_device: decouple platform_device from omap_device X-Git-Tag: v3.2-rc1~90^2~8^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66b3fe436a296f102e8944247972fc0c17ddf26;p=pandora-kernel.git 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 --- Reading git-diff-tree failed