Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iop_wdt.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <mach/hardware.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
 
#define WDT_ENABLED   2
 

Functions

 module_init (iop_wdt_init)
 
 module_exit (iop_wdt_exit)
 
 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started")
 
 MODULE_AUTHOR ("Curt E Bruns <[email protected]>")
 
 MODULE_DESCRIPTION ("iop watchdog timer driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 27 of file iop_wdt.c.

#define WDT_ENABLED   2

Definition at line 46 of file iop_wdt.c.

#define WDT_IN_USE   0

Definition at line 44 of file iop_wdt.c.

#define WDT_OK_TO_CLOSE   1

Definition at line 45 of file iop_wdt.c.

Function Documentation

MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Curt E Bruns <[email protected]>"  )
MODULE_DESCRIPTION ( "iop watchdog timer driver )
module_exit ( iop_wdt_exit  )
module_init ( iop_wdt_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( nowayout  ,
bool  ,
 
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started  
)