[RFC PATCH] x86/init: x86_wallclock_init() can be static

From: kbuild test robot
Date: Thu Aug 29 2019 - 14:52:33 EST



Fixes: 1461badd03e7 ("x86/init: Noop get/set wallclock when platform doesn't support RTC")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
x86_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 88c120710d5d5..50aa8257fd20a 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -39,7 +39,7 @@ static const struct of_device_id of_cmos_match[] = {
{}
};

-void x86_wallclock_init(void)
+static void x86_wallclock_init(void)
{
struct device_node *node;