From: Guenter Roeck Date: Sun, 25 Oct 2015 22:50:59 +0000 (-0700) Subject: cris: Drop reference to get_cmos_time() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4247896f4b8bdbe2c9a03c2f713b636e94eab210;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git cris: Drop reference to get_cmos_time() Function get_cmos_time() was removed with commit 657926a83df9 ("cris: time: Cleanup of persistent clock stuff"). The remaining reference to it may cause the following build error. arch/cris/kernel/built-in.o:(___ksymtab+get_cmos_time+0x0): undefined reference to `get_cmos_time' Makefile:946: recipe for target 'vmlinux' failed Fixes: 657926a83df9 ("cris: time: Cleanup of persistent clock stuff") Cc: Xunlei Pang Cc: Rabin Vincent Signed-off-by: Guenter Roeck Signed-off-by: Jesper Nilsson --- diff --git a/arch/cris/kernel/crisksyms.c b/arch/cris/kernel/crisksyms.c index e704f81f85cc..31b4bd288cad 100644 --- a/arch/cris/kernel/crisksyms.c +++ b/arch/cris/kernel/crisksyms.c @@ -18,7 +18,6 @@ #include #include -extern unsigned long get_cmos_time(void); extern void __Udiv(void); extern void __Umod(void); extern void __Div(void); @@ -30,7 +29,6 @@ extern void __negdi2(void); extern void iounmap(volatile void * __iomem); /* Platform dependent support */ -EXPORT_SYMBOL(get_cmos_time); EXPORT_SYMBOL(loops_per_usec); /* Math functions */