oxnas: drop compatibility with old kernels from mach-ox820
authorDaniel Golle <daniel@makrotopia.org>
Fri, 20 May 2016 03:39:52 +0000 (05:39 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 20 May 2016 06:48:19 +0000 (08:48 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c

index 1e3b12d1a2a621d63d68a040b555836bccd53ce7..31b7c90582345134ec7abe4006e5603fb1a95ddd 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/slab.h>
 #include <linux/gfp.h>
 #include <linux/reset.h>
-#include <linux/version.h>
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>
 #include <asm/mach/arch.h>
@@ -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)