diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2010-09-10 03:37:56 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 05:57:24 +0400 |
commit | 408929bed7841686ce5fdd06366fb652cb653d6c (patch) | |
tree | 74fae2c879d946169fa00edb683f8bf28531b078 /net/decnet | |
parent | ee3aebdd8f5f8eac41c25c80ceee3d728f920f3b (diff) | |
download | linux-408929bed7841686ce5fdd06366fb652cb653d6c.tar.xz |
rtc: m41t80: do not use rtc_valid_tm in m41t80_rtc_read_alarm
Commit b485fe5ea ("rtc/m41t80: use rtc_valid_tm() to check returned tm")
added rtc_valid_tm to m41t80_rtc_read_alarm() but it was wrong while the
t->time does not contain complete date/time.
This patch also fixes a warning:
warning: passing argument 1 of 'rtc_valid_tm' from incompatible pointer type
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions