Linux Kernel
3.7.1
|
#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/bitops.h>
#include <linux/ioport.h>
#include <linux/uaccess.h>
#include <asm/coldfire.h>
#include <asm/m54xxsim.h>
#include <asm/m54xxgpt.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | WDT_IN_USE 0 |
#define | WDT_OK_TO_CLOSE 1 |
Functions | |
module_init (m54xx_wdt_init) | |
module_exit (m54xx_wdt_exit) | |
MODULE_AUTHOR ("Philippe De Muyter <[email protected]>") | |
MODULE_DESCRIPTION ("Coldfire M54xx Watchdog") | |
module_param (heartbeat, int, 0) | |
MODULE_PARM_DESC (heartbeat,"Watchdog heartbeat in seconds (default 30s)") | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
Definition at line 19 of file m54xx_wdt.c.
#define WDT_IN_USE 0 |
Definition at line 41 of file m54xx_wdt.c.
#define WDT_OK_TO_CLOSE 1 |
Definition at line 42 of file m54xx_wdt.c.
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Philippe De Muyter <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Coldfire M54xx Watchdog" | ) |
module_exit | ( | m54xx_wdt_exit | ) |
module_init | ( | m54xx_wdt_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |