Skip to contentSkip to conversation

ARM: OMAP2+: pm33xx-core: make am43xx_get_rtc_base_addr static

PATCH New Ben Dooks 1 participant 1 message Oct 9, 2019

Subsystems (4)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

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?

---
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
index f11442ed3eff..05ad017796f8 100644
@@ -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