ARM: OMAP2+: hwmod: Add possibility to count hwmod resources based on type
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 21 Nov 2012 23:15:17 +0000 (16:15 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 21 Nov 2012 23:15:17 +0000 (16:15 -0700)
commitdad4191d79bded6674529084bcf842c00e4d874a
tree72d072bf30441da7e745ba28c10af91ce570b40e
parente6d3a8b0bdcd8f323488a52927682190aee5488e
ARM: OMAP2+: hwmod: Add possibility to count hwmod resources based on type

Add flags parameter for omap_hwmod_count_resources() so users can tell which
type of resources they are interested when counting them in hwmod database.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: BenoƮt Cousson <b-cousson@ti.com>
[paul@pwsan.com: updated to apply]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_device.c
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h