linux/drivers/watchdog/mena21_wdt.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Watchdog driver for the A21 VME CPU Boards
 *
 * Copyright (C) 2013 MEN Mikro Elektronik Nuernberg GmbH
 *
 */
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <linux/gpio/consumer.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/of.h>

#define NUM_GPIOS

enum a21_wdt_gpios {};

struct a21_wdt_drv {};

static bool nowayout = WATCHDOG_NOWAYOUT;
module_param(nowayout, bool, 0);
MODULE_PARM_DESC();

static unsigned int a21_wdt_get_bootstatus(struct a21_wdt_drv *drv)
{}

static int a21_wdt_start(struct watchdog_device *wdt)
{}

static int a21_wdt_stop(struct watchdog_device *wdt)
{}

static int a21_wdt_ping(struct watchdog_device *wdt)
{}

static int a21_wdt_set_timeout(struct watchdog_device *wdt,
			       unsigned int timeout)
{}

static const struct watchdog_info a21_wdt_info =;

static const struct watchdog_ops a21_wdt_ops =;

static struct watchdog_device a21_wdt =;

static int a21_wdt_probe(struct platform_device *pdev)
{}

static void a21_wdt_shutdown(struct platform_device *pdev)
{}

static const struct of_device_id a21_wdt_ids[] =;
MODULE_DEVICE_TABLE(of, a21_wdt_ids);

static struct platform_driver a21_wdt_driver =;

module_platform_driver();

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