aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <[email protected]>2010-09-09 16:37:56 -0700
committerLinus Torvalds <[email protected]>2010-09-09 18:57:24 -0700
commit408929bed7841686ce5fdd06366fb652cb653d6c (patch)
tree74fae2c879d946169fa00edb683f8bf28531b078 /arch/powerpc/lib/code-patching.c
parentee3aebdd8f5f8eac41c25c80ceee3d728f920f3b (diff)
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 <[email protected]> Cc: Wan ZongShun <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions