ARM: OMAP2+: pm33xx-core: make am43xx_get_rtc_base_addr static
PATCH 1/1 ARM: OMAP2+: pm33xx-core: make am43xx_get_rtc_base_addr static
Make am43xx_get_rtc_base_addr as is not used outside of this file. Fixes the following sparse warning:
arch/arm/mach-omap2/pm33xx-core.c:190:14: warning: symbol 'am43xx_get_rtc_base_addr' was not declared. Should it be static?
Signed-off-by Ben Dooks <[email protected]>
---
Cc: Kevin Hilman <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- arch/arm/mach-omap2/pm33xx-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/pm33xx-core.c +1 -1
@@ -187,7 +187,7 @@ static struct am33xx_pm_sram_addr *amx3_get_sram_addrs(void)return NULL ; } -void __iomem *am43xx_get_rtc_base_addr (void ) +static void __iomem *am43xx_get_rtc_base_addr (void ) { rtc_oh =omap_hwmod_lookup ("rtc" );
Signature · 1 line
2.23.0