]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: stmp3xxx: add wdt-accessor function
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 27 Sep 2011 20:21:37 +0000 (22:21 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Tue, 29 Jan 2013 15:00:03 +0000 (16:00 +0100)
commite02f5cf6b648bac25f77b378d7c55954e30bf8fd
treecd44ea43678c48a348e6f8092145d6f3a36f09cb
parent949db153b6466c6f7cad5a427ecea94985927311
rtc: stmp3xxx: add wdt-accessor function

This RTC also includes a watchdog timer. Provide an accessor function
for setting the watchdog timeout value which will be picked up by a
watchdog driver. Also register the platform_device for the watchdog here
to get the boot-time dependencies right.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-stmp3xxx.c
include/linux/stmp3xxx_rtc_wdt.h [new file with mode: 0644]