|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/types.h>#include <linux/errno.h>#include <linux/miscdevice.h>#include <linux/fs.h>#include <linux/init.h>#include <linux/ioport.h>#include <linux/timer.h>#include <linux/completion.h>#include <linux/jiffies.h>#include <linux/watchdog.h>#include <linux/platform_device.h>#include <linux/io.h>#include <linux/uaccess.h>#include <linux/gpio.h>#include <asm/mach-au1x00/au1000.h>Go to the source code of this file.
Macros | |
| #define | MTX1_WDT_INTERVAL (5 * HZ) |
Functions | |
| module_platform_driver (mtx1_wdt_driver) | |
| MODULE_AUTHOR ("Michael Stickel, Florian Fainelli") | |
| MODULE_DESCRIPTION ("Driver for the MTX-1 watchdog") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| MODULE_ALIAS ("platform:mtx1-wdt") | |
| #define MTX1_WDT_INTERVAL (5 * HZ) |
Definition at line 56 of file mtx-1_wdt.c.
| MODULE_ALIAS | ( | "platform:mtx1-wdt" | ) |
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Michael | Stickel, |
| Florian Fainelli" | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | mtx1_wdt_driver | ) |
| int default_ticks |
Definition at line 66 of file mtx-1_wdt.c.
| unsigned gpio |
Definition at line 68 of file mtx-1_wdt.c.
| unsigned int gstate |
Definition at line 69 of file mtx-1_wdt.c.
| unsigned long inuse |
Definition at line 67 of file mtx-1_wdt.c.
| spinlock_t lock |
Definition at line 62 of file mtx-1_wdt.c.
Definition at line 65 of file mtx-1_wdt.c.
| int running |
Definition at line 63 of file mtx-1_wdt.c.
| struct completion stop |
Definition at line 61 of file mtx-1_wdt.c.
Definition at line 64 of file mtx-1_wdt.c.
1.8.2