[PATCH] rtc-sh: act on rtc_wkalrm.enabled when setting an alarm
authorJamie Lenehan <lenehan@twibble.org>
Tue, 23 Jan 2007 04:40:41 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 15:52:06 +0000 (07:52 -0800)
commit15c945c3d0913d73a7d57d7a0a3c4e2902598cc6
treead264d49c433e6d81d6ac0def68d97a3359cc087
parentfc3dffe12148b9612870eb21b24f2aecefa9ea24
[PATCH] rtc-sh: act on rtc_wkalrm.enabled when setting an alarm

This fixes the SH rtc driver correctly act on the "enabled" flag when
setting an alarm.

Signed-off-by: Jamie Lenehan <lenehan@twibble.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-sh.c