diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-30 15:32:53 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-30 15:32:53 +0000 |
commit | 1d50d60fc088a9505ea71ed33aec65c2cf10c870 (patch) | |
tree | b723db3c26ba01b2d4bf7745e6424d4bbbc8c615 /package/system/rtc-rv5c386a/src/rtc.c | |
parent | 190c566210e8689802e2d32703896e84fb90306b (diff) | |
download | mtk-20170518-1d50d60fc088a9505ea71ed33aec65c2cf10c870.zip mtk-20170518-1d50d60fc088a9505ea71ed33aec65c2cf10c870.tar.gz mtk-20170518-1d50d60fc088a9505ea71ed33aec65c2cf10c870.tar.bz2 |
rtc-rv5c386a: fix compilation for kernel >= 3.4
SVN-Revision: 34938
Diffstat (limited to 'package/system/rtc-rv5c386a/src/rtc.c')
-rw-r--r-- | package/system/rtc-rv5c386a/src/rtc.c | 2 |
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 7c51bf4..25e5331 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> |