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
nexedi
linux
Commits
30bf63c7
Commit
30bf63c7
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] C99 struct initialisers for shwdt
parent
6a4667e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
drivers/char/watchdog/shwdt.c
drivers/char/watchdog/shwdt.c
+9
-9
No files found.
drivers/char/watchdog/shwdt.c
View file @
30bf63c7
...
@@ -334,21 +334,21 @@ static struct file_operations sh_wdt_fops = {
...
@@ -334,21 +334,21 @@ static struct file_operations sh_wdt_fops = {
};
};
static
struct
watchdog_info
sh_wdt_info
=
{
static
struct
watchdog_info
sh_wdt_info
=
{
WDIOF_KEEPALIVEPING
,
.
options
=
WDIOF_KEEPALIVEPING
|
WDIOF_SETTIMEOUT
|
WDIOF_MAGICCLOSE
,
1
,
.
firmware_version
=
1
,
"SH WDT"
,
.
identity
=
"SH WDT"
,
};
};
static
struct
notifier_block
sh_wdt_notifier
=
{
static
struct
notifier_block
sh_wdt_notifier
=
{
sh_wdt_notify_sys
,
.
notifier_call
=
sh_wdt_notify_sys
,
NULL
,
.
next
=
NULL
,
0
.
priority
=
0
};
};
static
struct
miscdevice
sh_wdt_miscdev
=
{
static
struct
miscdevice
sh_wdt_miscdev
=
{
WATCHDOG_MINOR
,
.
minor
=
WATCHDOG_MINOR
,
"watchdog"
,
.
name
=
"watchdog"
,
&
sh_wdt_fops
,
.
fops
&
sh_wdt_fops
,
};
};
/**
/**
...
...
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