]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static
authorSamuel Zou <zou_wei@huawei.com>
Tue, 12 May 2020 02:41:11 +0000 (10:41 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 12 May 2020 15:36:04 +0000 (08:36 -0700)
commitc7ef01bf4ac1328563bdf75388e029a4c9af00a9
treee315ddf9ed5b92923e0142611e46848ce0f47b96
parent1c2b605900d85d9bd2ec853460b0a6739e16bcd4
ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static

Fix the following sparse warning:

arch/arm/mach-omap2/pm33xx-core.c:270:14: warning: symbol 'am43xx_get_rtc_base_addr' was not declared.

The am43xx_get_rtc_base_addr has only call site within pm33xx-core.c
It should be static

Fixes: 5ba733678340 ("ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Samuel Zou <zou_wei@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm33xx-core.c