From: Andy Gross Date: Mon, 5 Mar 2012 16:48:39 +0000 (-0600) Subject: staging: drm/omap: Get DMM resources from hwmod X-Git-Tag: v3.4-rc1~186^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c137797377db64d4cfb429ee8e4a420d9743660;p=pandora-kernel.git staging: drm/omap: Get DMM resources from hwmod This patch splits the DMM off into a separate sub-device, in order to utilize the platform device information that was created as part of the OMAP hwmod entry for the DMM. The driver probe function queries the iomem resource and IRQ using standard platform_get functions. The OMAP DRM driver now calls the platform_driver_register() function for the subordinate DMM driver inside its probe function. This guarantees the required order for the DMM and ensures the DMM resources are available for use by the DRM driver. Signed-off-by: Andy Gross Signed-off-by: Rob Clark Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed