Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
af495c9f
Commit
af495c9f
authored
Jan 10, 2003
by
Dave Jones
Committed by
Dave Jones
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] acquirewdt compile fixes
parent
374b74c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/char/watchdog/acquirewdt.c
drivers/char/watchdog/acquirewdt.c
+2
-1
include/linux/watchdog.h
include/linux/watchdog.h
+1
-0
No files found.
drivers/char/watchdog/acquirewdt.c
View file @
af495c9f
...
...
@@ -45,6 +45,7 @@
static
int
acq_is_open
;
static
spinlock_t
acq_lock
;
static
int
expect_close
=
0
;
/*
* You must set these - there is no sane way to probe for this board.
...
...
@@ -218,7 +219,7 @@ static struct miscdevice acq_miscdev=
static
struct
notifier_block
acq_notifier
=
{
.
self
=
acq_notify_sys
,
.
notifier_call
=
acq_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
...
...
include/linux/watchdog.h
View file @
af495c9f
...
...
@@ -39,6 +39,7 @@ struct watchdog_info {
#define WDIOF_CARDRESET 0x0020
/* Card previously reset the CPU */
#define WDIOF_POWEROVER 0x0040
/* Power over voltage */
#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 WDIOS_DISABLECARD 0x0001
/* Turn off the watchdog timer */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment