]> git.baikalelectronics.ru Git - kernel.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)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 1 Mar 2013 11:40:36 +0000 (12:40 +0100)
commit0ca3582107c4f8e478d97c595726977d8c950c8c
tree812379bf5a5f6ffaddd129fd7858e3d2adb66dab
parent38622804b3cd82794023ab8912ab01f305119faa
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>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/rtc/rtc-stmp3xxx.c
include/linux/stmp3xxx_rtc_wdt.h [new file with mode: 0644]