mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Wolfram Sang](/assets/img/avatar_default.png)
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>
15 lines
332 B
C
15 lines
332 B
C
/*
|
|
* stmp3xxx_rtc_wdt.h
|
|
*
|
|
* Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
|
|
*
|
|
* This file is released under the GPLv2.
|
|
*/
|
|
#ifndef __LINUX_STMP3XXX_RTC_WDT_H
|
|
#define __LINUX_STMP3XXX_RTC_WDT_H
|
|
|
|
struct stmp3xxx_wdt_pdata {
|
|
void (*wdt_set_timeout)(struct device *dev, u32 timeout);
|
|
};
|
|
|
|
#endif /* __LINUX_STMP3XXX_RTC_WDT_H */
|