RTC: Fix month offset by one problem in M41T62 RTC driver
authorStefan Roese <sr@denx.de>
Wed, 30 Apr 2008 13:50:39 +0000 (15:50 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 3 May 2008 18:44:54 +0000 (20:44 +0200)
commit0072b78be2b41e5a0ca3ddc39335574dc2e855bd
tree1692f785e7be8ed342c26349850e2db39885bed4
parent50f93d30dae3c5d888aa244d964ccd77be9b1c0c
RTC: Fix month offset by one problem in M41T62 RTC driver

This patch fixes a problem with the month being read and written
incorrectly (offset by one). This only gets visible by also using
the Linux driver (rtc-m41t80).

Tested on AMCC Canyonlands.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t62.c