]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drivers/rtc/rtc-ds1374.c: add watchdog support
authorSøren Andersen <san@rosetechnology.dk>
Wed, 10 Dec 2014 23:53:54 +0000 (15:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:15 +0000 (17:41 -0800)
commit920f91e50c5bfcbc5fe68f46dc72a34a96e0ff16
tree526c5420d8d24cae8e8dbc89da52bd76ceb096dc
parente9bc7363d634e8d2ef1955106c53f8266d724353
drivers/rtc/rtc-ds1374.c: add watchdog support

Add support for the watchdog functionality of the DS1374 rtc.  Based on
the m41t80 watchdog functionality Note: watchdog uses the same registers
as alarm.

[akpm@linux-foundation.org: don't forget mutex_unlock() in ds1374_wdt_open() error path]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Soeren Andersen <san@rosetechnology.dk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1374.c