aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/files
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-05-20 05:39:52 +0200
committerDaniel Golle <daniel@makrotopia.org>2016-05-20 08:48:19 +0200
commit118b5ae7b2e732e9a99f47ae240acbc111d29dc1 (patch)
treebce1d652560ce0703f3f3252fbf752954273f5a3 /target/linux/oxnas/files
parent97ce23c3477b856faae17d7bfebb6a4bbb35030b (diff)
downloadupstream-118b5ae7b2e732e9a99f47ae240acbc111d29dc1.tar.gz
upstream-118b5ae7b2e732e9a99f47ae240acbc111d29dc1.tar.bz2
upstream-118b5ae7b2e732e9a99f47ae240acbc111d29dc1.zip
oxnas: drop compatibility with old kernels from mach-ox820
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/files')
-rw-r--r--target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c5
1 files changed, 0 insertions, 5 deletions
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 <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)