linux/drivers/watchdog/sbc_epx_c3.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *	SBC EPX C3 0.1	A Hardware Watchdog Device for the Winsystems EPX-C3
 *	single board computer
 *
 *	(c) Copyright 2006 Calin A. Culianu <[email protected]>, All Rights
 *	Reserved.
 *
 *	based on softdog.c by Alan Cox <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/uaccess.h>
#include <linux/io.h>

static int epx_c3_alive;

#define WATCHDOG_TIMEOUT

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

#define EPXC3_WATCHDOG_CTL_REG
#define EPXC3_WATCHDOG_PET_REG

static void epx_c3_start(void)
{}

static void epx_c3_stop(void)
{}

static void epx_c3_pet(void)
{}

/*
 *	Allow only one person to hold it open
 */
static int epx_c3_open(struct inode *inode, struct file *file)
{}

static int epx_c3_release(struct inode *inode, struct file *file)
{}

static ssize_t epx_c3_write(struct file *file, const char __user *data,
			size_t len, loff_t *ppos)
{}

static long epx_c3_ioctl(struct file *file, unsigned int cmd,
						unsigned long arg)
{}

static int epx_c3_notify_sys(struct notifier_block *this, unsigned long code,
				void *unused)
{}

static const struct file_operations epx_c3_fops =;

static struct miscdevice epx_c3_miscdev =;

static struct notifier_block epx_c3_notifier =;

static int __init watchdog_init(void)
{}

static void __exit watchdog_exit(void)
{}

module_init();
module_exit(watchdog_exit);

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