From 214f6f287e3444d8359ad5f3c8eb95710db5167e Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev Date: Thu, 18 Jun 2015 12:17:41 +0600 Subject: [PATCH] Remove asm/system.h This header was removed from linux kernel since linux 3.4 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f05e798ad4c09255f590f5b2c00a7ca6c172f983 --- lsi6_lib.c | 3 +++ lsi6_main.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lsi6_lib.c b/lsi6_lib.c index b83d205..b4333fe 100644 --- a/lsi6_lib.c +++ b/lsi6_lib.c @@ -9,7 +9,10 @@ #include #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) #include +#endif + #include #include #include diff --git a/lsi6_main.c b/lsi6_main.c index 0d8f49e..a73ce07 100644 --- a/lsi6_main.c +++ b/lsi6_main.c @@ -11,7 +11,10 @@ #include #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) #include +#endif + #include #include #include