projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc-rv5c386a: fix compilation for kernel >= 3.4
[openwrt/staging/chunkeey.git]
/
package
/
system
/
rtc-rv5c386a
/
src
/
rtc.c
diff --git
a/package/system/rtc-rv5c386a/src/rtc.c
b/package/system/rtc-rv5c386a/src/rtc.c
index 7c51bf4bf979450eed81e58e6102a2b5eeae1da3..25e5331409894c9bc24532fe3d7a915b05b75b61 100644
(file)
--- 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>