Commit af495c9f authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[WATCHDOG] acquirewdt compile fixes

parent 374b74c7
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
static int acq_is_open; static int acq_is_open;
static spinlock_t acq_lock; static spinlock_t acq_lock;
static int expect_close = 0;
/* /*
* You must set these - there is no sane way to probe for this board. * You must set these - there is no sane way to probe for this board.
...@@ -218,7 +219,7 @@ static struct miscdevice acq_miscdev= ...@@ -218,7 +219,7 @@ static struct miscdevice acq_miscdev=
static struct notifier_block acq_notifier = static struct notifier_block acq_notifier =
{ {
.self = acq_notify_sys, .notifier_call = acq_notify_sys,
.next = NULL, .next = NULL,
.priority = 0 .priority = 0
}; };
......
...@@ -39,6 +39,7 @@ struct watchdog_info { ...@@ -39,6 +39,7 @@ struct watchdog_info {
#define WDIOF_CARDRESET 0x0020 /* Card previously reset the CPU */ #define WDIOF_CARDRESET 0x0020 /* Card previously reset the CPU */
#define WDIOF_POWEROVER 0x0040 /* Power over voltage */ #define WDIOF_POWEROVER 0x0040 /* Power over voltage */
#define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */ #define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */
#define WDIOF_MAGICCLOSE 0x0100 /* Supports magic close char */
#define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */ #define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */
#define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */ #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment