From: Paul Walmsley Date: Thu, 19 Apr 2012 10:04:27 +0000 (-0600) Subject: ARM: OMAP2+: hwmod: add _find_mpu_rt_port() X-Git-Tag: omap-cleanup-hwmod-for-v3.5^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6141baf15df188283ada7c0fa04679c4fcf1c7;p=pandora-kernel.git ARM: OMAP2+: hwmod: add _find_mpu_rt_port() Most IP blocks on the OMAP SoC have an interconnect link that is intended to be used by the MPU to communicate with the IP block. Several parts of the hwmod code need to be able to identify this link. Currently, this is open-coded. However, future patches will change the way that interconnect links are represented and will make identifying the link more complex. So to avoid code duplication, this patch centralizes the MPU port link identification code into a new function, _find_mpu_rt_port(). Signed-off-by: Paul Walmsley Cc: BenoƮt Cousson --- Reading git-diff-tree failed