|
Linux Kernel
3.7.1
|
#include <linux/bitops.h>#include <linux/errno.h>#include <linux/fs.h>#include <linux/init.h>#include <linux/io.h>#include <linux/kernel.h>#include <linux/miscdevice.h>#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/platform_device.h>#include <linux/types.h>#include <linux/watchdog.h>#include <linux/uaccess.h>#include <mach/at91_st.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | WDT_DEFAULT_TIME 5 /* seconds */ |
| #define | WDT_MAX_TIME 256 /* seconds */ |
| #define | at91wdt_suspend NULL |
| #define | at91wdt_resume NULL |
Functions | |
| module_param (wdt_time, int, 0) | |
| MODULE_PARM_DESC (wdt_time,"Watchdog time in seconds. (default="__MODULE_STRING(WDT_DEFAULT_TIME)")") | |
| module_init (at91_wdt_init) | |
| module_exit (at91_wdt_exit) | |
| MODULE_AUTHOR ("Andrew Victor") | |
| MODULE_DESCRIPTION ("Watchdog driver for Atmel AT91RM9200") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| MODULE_ALIAS ("platform:at91_wdt") | |
| #define at91wdt_resume NULL |
Definition at line 252 of file at91rm9200_wdt.c.
| #define at91wdt_suspend NULL |
Definition at line 251 of file at91rm9200_wdt.c.
Definition at line 12 of file at91rm9200_wdt.c.
| #define WDT_DEFAULT_TIME 5 /* seconds */ |
Definition at line 29 of file at91rm9200_wdt.c.
| #define WDT_MAX_TIME 256 /* seconds */ |
Definition at line 30 of file at91rm9200_wdt.c.
| MODULE_ALIAS | ( | "platform:at91_wdt" | ) |
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Andrew Victor" | ) |
| module_exit | ( | at91_wdt_exit | ) |
| module_init | ( | at91_wdt_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | wdt_time | , |
| int | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | wdt_time | , |
| "Watchdog time in seconds. (default="__MODULE_STRING(WDT_DEFAULT_TIME)")" | |||
| ) |
1.8.2