mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 03:44:27 +08:00
ARM: tegra: tegra_rtc_read_ms should be static
Not exported and not used externally. Signed-off-by: Olof Johansson <olof@lixom.net> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
74ae6c3cc5
commit
b28fba2a4e
@ -133,7 +133,7 @@ static void notrace tegra_update_sched_clock(void)
|
||||
* tegra_rtc driver could be executing to avoid race conditions
|
||||
* on the RTC shadow register
|
||||
*/
|
||||
u64 tegra_rtc_read_ms(void)
|
||||
static u64 tegra_rtc_read_ms(void)
|
||||
{
|
||||
u32 ms = readl(rtc_base + RTC_MILLISECONDS);
|
||||
u32 s = readl(rtc_base + RTC_SHADOW_SECONDS);
|
||||
|
Loading…
Reference in New Issue
Block a user