#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/uaccess.h>
#include <linux/timex.h>
#include <mach/reset.h>
#include <mach/hardware.h>
Go to the source code of this file.
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_AUTHOR |
( |
"Oleg Drokin <green@crimea.edu>" |
| ) |
|
MODULE_DESCRIPTION |
( |
"SA1100/PXA2xx Watchdog" |
| ) |
|
module_exit |
( |
sa1100dog_exit |
| ) |
|
module_init |
( |
sa1100dog_init |
| ) |
|
module_param |
( |
margin |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
margin |
, |
|
|
"Watchdog margin in seconds (default 60s)" |
|
|
) |
| |