X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c610ea33476e9eb1b283d5c271dd4b88b8874f2c..bc46e3f21c94305023d63d58daca55a06ec3bbd9:/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 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,