]> Pileus Git - ~andy/linux/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)
commit1a71fb84fda651105e1e194c2d3a3a13a38210a9
tree812379bf5a5f6ffaddd129fd7858e3d2adb66dab
parent3d3a6d18abc66ba38e554fd5cb5991dfa805cd23
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]