From: Daniel Golle Date: Fri, 20 May 2016 03:39:52 +0000 (+0200) Subject: oxnas: drop compatibility with old kernels from mach-ox820 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=118b5ae7b2e732e9a99f47ae240acbc111d29dc1;p=openwrt%2Fstaging%2Fyousong.git oxnas: drop compatibility with old kernels from mach-ox820 Signed-off-by: Daniel Golle --- diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c b/target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c index 1e3b12d1a2..31b7c90582 100644 --- a/target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c +++ b/target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include @@ -74,11 +73,7 @@ static void __init ox820_dt_init(void) static void __init ox820_timer_init(void) { of_clk_init(NULL); -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0) - clocksource_of_init(); -#else clocksource_probe(); -#endif } void ox820_init_early(void)