#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/mfd/max77620.h>
#include <linux/mfd/max77714.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/watchdog.h>
static bool nowayout = … WATCHDOG_NOWAYOUT;
struct max77620_variant { … };
struct max77620_wdt { … };
static const struct max77620_variant max77620_wdt_data = …;
static const struct max77620_variant max77714_wdt_data = …;
static int max77620_wdt_start(struct watchdog_device *wdt_dev)
{ … }
static int max77620_wdt_stop(struct watchdog_device *wdt_dev)
{ … }
static int max77620_wdt_ping(struct watchdog_device *wdt_dev)
{ … }
static int max77620_wdt_set_timeout(struct watchdog_device *wdt_dev,
unsigned int timeout)
{ … }
static const struct watchdog_info max77620_wdt_info = …;
static const struct watchdog_ops max77620_wdt_ops = …;
static int max77620_wdt_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id max77620_wdt_devtype[] = …;
MODULE_DEVICE_TABLE(platform, max77620_wdt_devtype);
static struct platform_driver max77620_wdt_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
module_param(nowayout, bool, 0);
MODULE_PARM_DESC(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;