#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/fs.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/clk.h>
#include <asm/addrspace.h>
#include <asm/mach-ar7/ar7.h>
Go to the source code of this file.
#define LONGNAME "TI AR7 Watchdog Timer" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define prescale_value 0xffff |
module_param |
( |
margin |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
margin |
, |
|
|
"Watchdog margin in seconds" |
|
|
) |
| |
module_platform_driver |
( |
ar7_wdt_driver |
| ) |
|