X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c610ea33476e9eb1b283d5c271dd4b88b8874f2c..0432b2b9b938198359cb9e980a72358278f047bb:/target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch?ds=inline 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,