summaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch')
-rw-r--r--target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch b/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch
index f789dada9..0483142b1 100644
--- 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,
-- RTC_M4LT81
+- RTC_M41T81,
-};
-
-enum swarm_rtc_type swarm_rtc_type;
@@ -36,7 +36,7 @@
- sec = xicor_get_time();
- break;
-
-- case RTC_M4LT81:
+- case RTC_M41T81:
- sec = m41t81_get_time();
- break;
-
@@ -56,7 +56,7 @@
- case RTC_XICOR:
- return xicor_set_time(sec);
-
-- case RTC_M4LT81:
+- case RTC_M41T81:
- return m41t81_set_time(sec);
-
- case RTC_NONE:
@@ -73,8 +73,8 @@
- if (xicor_probe())
- swarm_rtc_type = RTC_XICOR;
- if (m41t81_probe())
-- swarm_rtc_type = RTC_M4LT81;
+- swarm_rtc_type = RTC_M41T81;
-
#ifdef CONFIG_VT
screen_info = (struct screen_info) {
- 0, 0, /* orig-x, orig-y */
+ .orig_video_page = 52,