#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/io.h>
#define WDT_TIMEOUT …
static bool nowayout = … WATCHDOG_NOWAYOUT;
module_param(nowayout, bool, 0);
MODULE_PARM_DESC(…) …;
static unsigned int timeout;
module_param(timeout, uint, 0);
MODULE_PARM_DESC(…) …;
#define EP93XX_WATCHDOG …
#define EP93XX_WDSTATUS …
struct ep93xx_wdt_priv { … };
static int ep93xx_wdt_start(struct watchdog_device *wdd)
{ … }
static int ep93xx_wdt_stop(struct watchdog_device *wdd)
{ … }
static int ep93xx_wdt_ping(struct watchdog_device *wdd)
{ … }
static const struct watchdog_info ep93xx_wdt_ident = …;
static const struct watchdog_ops ep93xx_wdt_ops = …;
static int ep93xx_wdt_probe(struct platform_device *pdev)
{ … }
static struct platform_driver ep93xx_wdt_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;