1. 12 11月, 2011 1 次提交
    • F
      vrtc: change its year offset from 1960 to 1972 · 57e6319d
      Feng Tang 提交于
      Real world year equals the value in vrtc YEAR register plus an offset.
      We used 1960 as the offset to make leap year consistent, but for a
      device's first use, its YEAR register is 0 and the system year will
      be parsed as 1960 which is not a valid UNIX time and will cause many
      applications to fail mysteriously. So we use 1972 instead to fix this
      issue.
      
      Updated patch which adds a sanity check suggested by Mathias
      
      This isn't a change in behaviour for systems, because 1972 is the one we
      actually use. It's the old version in upstream which is out of sync with
      all devices.
      Signed-off-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      57e6319d
  2. 10 6月, 2011 1 次提交
  3. 27 5月, 2011 1 次提交
  4. 07 4月, 2011 2 次提交
  5. 04 4月, 2011 1 次提交
    • M
      rtc-mrst: Fix section types · b3b896c7
      Major Lee 提交于
      Fix the following section mismatch warning.
      
        WARNING: drivers/rtc/built-in.o(.data+0xa0): Section mismatch in reference from the variable vrtc_mrst_platform_driver to the function .init.text:vrtc_mrst_platform_probe()
        The variable vrtc_mrst_platform_driver references the function __init vrtc_mrst_platform_probe()
        If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable:
          *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: NMajor Lee <major_lee@wistron.com>
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b3b896c7
  6. 10 3月, 2011 1 次提交
    • J
      RTC: Cleanup rtc_class_ops->irq_set_state · 80d4bb51
      John Stultz 提交于
      With PIE mode interrupts now emulated in generic code via an hrtimer,
      no one calls rtc_class_ops->irq_set_state(), so this patch removes it
      along with driver implementations.
      
      CC: Thomas Gleixner <tglx@linutronix.de>
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      CC: rtc-linux@googlegroups.com
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      80d4bb51
  7. 15 2月, 2011 1 次提交
  8. 04 2月, 2011 1 次提交
  9. 17 11月, 2010 1 次提交
  10. 11 11月, 2010 1 次提交