diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-03-18 13:33:18 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-03-18 13:33:18 +0000 |
commit | de69f84399125d33f593c1a2245ca9ff886b0ae7 (patch) | |
tree | 4993ed1520f05d4dcaf127e649863141aa0fbb46 /target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch | |
parent | 4ef09dc5f8bbf051437f921ec972ff10c4248edc (diff) | |
download | mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.zip mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.tar.gz mtk-20170518-de69f84399125d33f593c1a2245ca9ff886b0ae7.tar.bz2 |
upgrade to 2.6.37.4
SVN-Revision: 26228
Diffstat (limited to 'target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch')
-rw-r--r-- | target/linux/sibyte/patches/104-sibyte_rtc_cleanup.patch | 10 |
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 f789dad..0483142 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, |