projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git]
/
target
/
linux
/
sibyte
/
patches
/
104-sibyte_rtc_cleanup.patch
diff --git
a/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
b/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
index
f789dad
..
0483142
100644
(file)
--- a/
target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
+++ b/
target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
@@
-22,7
+22,7
@@
-enum swarm_rtc_type {
- RTC_NONE,
- RTC_XICOR,
-enum swarm_rtc_type {
- RTC_NONE,
- RTC_XICOR,
-- RTC_M4
LT81
+- RTC_M4
1T81,
-};
-
-enum swarm_rtc_type swarm_rtc_type;
-};
-
-enum swarm_rtc_type swarm_rtc_type;
@@
-36,7
+36,7
@@
- sec = xicor_get_time();
- break;
-
- sec = xicor_get_time();
- break;
-
-- case RTC_M4
L
T81:
+- case RTC_M4
1
T81:
- sec = m41t81_get_time();
- break;
-
- sec = m41t81_get_time();
- break;
-
@@
-56,7
+56,7
@@
- case RTC_XICOR:
- return xicor_set_time(sec);
-
- case RTC_XICOR:
- return xicor_set_time(sec);
-
-- case RTC_M4
L
T81:
+- case RTC_M4
1
T81:
- return m41t81_set_time(sec);
-
- case RTC_NONE:
- return m41t81_set_time(sec);
-
- case RTC_NONE:
@@
-73,8
+73,8
@@
- if (xicor_probe())
- swarm_rtc_type = RTC_XICOR;
- if (m41t81_probe())
- if (xicor_probe())
- swarm_rtc_type = RTC_XICOR;
- if (m41t81_probe())
-- swarm_rtc_type = RTC_M4
L
T81;
+- swarm_rtc_type = RTC_M4
1
T81;
-
#ifdef CONFIG_VT
screen_info = (struct screen_info) {
-
#ifdef CONFIG_VT
screen_info = (struct screen_info) {
- 0, 0, /* orig-x, orig-y */
+ .orig_video_page = 52,
This page took
0.026689 seconds
and
4
git commands to generate.