#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
Go to the source code of this file.
#define DRIVER_NAME "riowd" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
riowd_match |
|
|
) |
| |
module_param |
( |
riowd_timeout |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
riowd_timeout |
, |
|
|
"Watchdog timeout in minutes" |
|
|
) |
| |
module_platform_driver |
( |
riowd_driver |
| ) |
|
MODULE_SUPPORTED_DEVICE |
( |
"watchdog" |
| ) |
|