linux/drivers/watchdog/retu_wdt.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Retu watchdog driver
 *
 * Copyright (C) 2004, 2005 Nokia Corporation
 *
 * Based on code written by Amit Kucheria and Michael Buesch.
 * Rewritten by Aaro Koskinen.
 */

#include <linux/devm-helpers.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mfd/retu.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>

/* Watchdog timer values in seconds */
#define RETU_WDT_MAX_TIMER

struct retu_wdt_dev {};

/*
 * Since Retu watchdog cannot be disabled in hardware, we must kick it
 * with a timer until userspace watchdog software takes over. If
 * CONFIG_WATCHDOG_NOWAYOUT is set, we never start the feeding.
 */
static void retu_wdt_ping_enable(struct retu_wdt_dev *wdev)
{}

static void retu_wdt_ping_disable(struct retu_wdt_dev *wdev)
{}

static void retu_wdt_ping_work(struct work_struct *work)
{}

static int retu_wdt_start(struct watchdog_device *wdog)
{}

static int retu_wdt_stop(struct watchdog_device *wdog)
{}

static int retu_wdt_ping(struct watchdog_device *wdog)
{}

static int retu_wdt_set_timeout(struct watchdog_device *wdog,
				unsigned int timeout)
{}

static const struct watchdog_info retu_wdt_info =;

static const struct watchdog_ops retu_wdt_ops =;

static int retu_wdt_probe(struct platform_device *pdev)
{}

static struct platform_driver retu_wdt_driver =;
module_platform_driver();

MODULE_ALIAS();
MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_LICENSE();