projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbd0b6
)
rtc-rv5c386a: fix compilation for kernel >= 3.4
author
Hauke Mehrtens
<hauke@openwrt.org>
Sun, 30 Dec 2012 15:32:53 +0000
(15:32 +0000)
committer
Hauke Mehrtens
<hauke@openwrt.org>
Sun, 30 Dec 2012 15:32:53 +0000
(15:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34938
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/system/rtc-rv5c386a/src/rtc.c
patch
|
blob
|
history
diff --git
a/package/system/rtc-rv5c386a/src/rtc.c
b/package/system/rtc-rv5c386a/src/rtc.c
index
7c51bf4
..
25e5331
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>