From: Paul Walmsley Date: Thu, 19 Apr 2012 01:10:06 +0000 (-0600) Subject: ARM: OMAP2+: hwmod: add omap_hwmod_get_resource_byname() X-Git-Tag: omap-cleanup-hwmod-for-v3.5^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e8370f1fa01bf232ca4770c6d81bbf42437d2a3;p=pandora-kernel.git ARM: OMAP2+: hwmod: add omap_hwmod_get_resource_byname() The timer integration code pokes around in hwmod data structures. Those data structures are about to change. Define a function, omap_hwmod_get_resource_byname(), for the timer integration code to use instead. The original patch has been changed to use struct resource by Tony's request, although the caller of this function should not be a driver._ Platform drivers should get their data through the regular platform_* functions; DT drivers through the appropriate of_* functions. This a function is only for use by OMAP core code in arch/arm/*omap*. Signed-off-by: Paul Walmsley Cc: BenoƮt Cousson Cc: Tony Lindgren --- Reading git-diff-tree failed