summaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-30 15:32:53 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-30 15:32:53 +0000
commitd3a33224ce2651c79beb6cc00b4b9eda63997196 (patch)
tree5fbd0c64e84efd103b9b80e6a67e6b6f741adfb0 /package/system
parente9849e56eb5ea9f4cb57bdd244959eb72168d401 (diff)
rtc-rv5c386a: fix compilation for kernel >= 3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34938 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system')
-rw-r--r--package/system/rtc-rv5c386a/src/rtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/system/rtc-rv5c386a/src/rtc.c b/package/system/rtc-rv5c386a/src/rtc.c
index 7c51bf4bf..25e533140 100644
--- a/package/system/rtc-rv5c386a/src/rtc.c
+++ b/package/system/rtc-rv5c386a/src/rtc.c
@@ -57,7 +57,9 @@
#include <linux/uaccess.h>
#include <asm/current.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
#include <asm/system.h>
+#endif
#include <bcm47xx.h>
#include <nvram.h>