aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-11-21 18:15:17 -0500
committerPaul Walmsley <paul@pwsan.com>2012-11-21 18:15:17 -0500
commitdad4191d79bded6674529084bcf842c00e4d874a (patch)
tree72d072bf30441da7e745ba28c10af91ce570b40e /arch/arm/mach-omap2/omap_hwmod.h
parente6d3a8b0bdcd8f323488a52927682190aee5488e (diff)
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>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.h')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h
index 421ff65562b0..86b7414b5835 100644
--- a/arch/arm/mach-omap2/omap_hwmod.h
+++ b/arch/arm/mach-omap2/omap_hwmod.h
@@ -631,7 +631,7 @@ void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs);
631u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs); 631u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs);
632int omap_hwmod_softreset(struct omap_hwmod *oh); 632int omap_hwmod_softreset(struct omap_hwmod *oh);
633 633
634int omap_hwmod_count_resources(struct omap_hwmod *oh); 634int omap_hwmod_count_resources(struct omap_hwmod *oh, unsigned long flags);
635int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res); 635int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res);
636int omap_hwmod_fill_dma_resources(struct omap_hwmod *oh, struct resource *res); 636int omap_hwmod_fill_dma_resources(struct omap_hwmod *oh, struct resource *res);
637int omap_hwmod_get_resource_byname(struct omap_hwmod *oh, unsigned int type, 637int omap_hwmod_get_resource_byname(struct omap_hwmod *oh, unsigned int type,