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
9051f9de
Commit
9051f9de
authored
Feb 13, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] C99 struct intiialisers for remaining drivers.
parent
131fc921
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
51 deletions
+51
-51
drivers/char/watchdog/machzwd.c
drivers/char/watchdog/machzwd.c
+6
-6
drivers/char/watchdog/sbc60xxwdt.c
drivers/char/watchdog/sbc60xxwdt.c
+6
-6
drivers/char/watchdog/sc520_wdt.c
drivers/char/watchdog/sc520_wdt.c
+12
-12
drivers/char/watchdog/w83877f_wdt.c
drivers/char/watchdog/w83877f_wdt.c
+6
-6
drivers/char/watchdog/wafer5823wdt.c
drivers/char/watchdog/wafer5823wdt.c
+11
-11
drivers/char/watchdog/wdt.c
drivers/char/watchdog/wdt.c
+9
-9
drivers/char/watchdog/wdt977.c
drivers/char/watchdog/wdt977.c
+1
-1
No files found.
drivers/char/watchdog/machzwd.c
View file @
9051f9de
...
...
@@ -453,9 +453,9 @@ static struct file_operations zf_fops = {
};
static
struct
miscdevice
zf_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
zf_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
zf_fops
};
...
...
@@ -464,9 +464,9 @@ static struct miscdevice zf_miscdev = {
* turn the timebomb registers off.
*/
static
struct
notifier_block
zf_notifier
=
{
zf_notify_sys
,
NULL
,
0
.
notifier_call
=
zf_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
static
void
__init
zf_show_action
(
int
act
)
...
...
drivers/char/watchdog/sbc60xxwdt.c
View file @
9051f9de
...
...
@@ -267,9 +267,9 @@ static struct file_operations wdt_fops = {
};
static
struct
miscdevice
wdt_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
wdt_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
wdt_fops
};
/*
...
...
@@ -291,9 +291,9 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
notifier_block
wdt_notifier
=
{
wdt_notify_sys
,
0
,
0
.
notifier_call
=
wdt_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
static
void
__exit
sbc60xxwdt_unload
(
void
)
...
...
drivers/char/watchdog/sc520_wdt.c
View file @
9051f9de
...
...
@@ -281,18 +281,18 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
static
struct
file_operations
wdt_fops
=
{
owner:
THIS_MODULE
,
llseek:
fop_llseek
,
write:
fop_write
,
open:
fop_open
,
release:
fop_close
,
ioctl:
fop_ioctl
.
owner
=
THIS_MODULE
,
.
llseek
=
fop_llseek
,
.
write
=
fop_write
,
.
open
=
fop_open
,
.
release
=
fop_close
,
.
ioctl
=
fop_ioctl
};
static
struct
miscdevice
wdt_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
wdt_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
wdt_fops
};
/*
...
...
@@ -314,9 +314,9 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
notifier_block
wdt_notifier
=
{
wdt_notify_sys
,
0
,
0
.
notifier_call
=
wdt_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
static
void
__exit
sc520_wdt_unload
(
void
)
...
...
drivers/char/watchdog/w83877f_wdt.c
View file @
9051f9de
...
...
@@ -275,9 +275,9 @@ static struct file_operations wdt_fops = {
};
static
struct
miscdevice
wdt_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
wdt_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
wdt_fops
};
/*
...
...
@@ -299,9 +299,9 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
notifier_block
wdt_notifier
=
{
wdt_notify_sys
,
0
,
0
.
notifier_call
=
wdt_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
static
void
__exit
w83877f_wdt_unload
(
void
)
...
...
drivers/char/watchdog/wafer5823wdt.c
View file @
9051f9de
...
...
@@ -198,17 +198,17 @@ static int wafwdt_notify_sys(struct notifier_block *this, unsigned long code, vo
*/
static
struct
file_operations
wafwdt_fops
=
{
owner:
THIS_MODULE
,
write:
wafwdt_write
,
ioctl:
wafwdt_ioctl
,
open:
wafwdt_open
,
release:
wafwdt_close
,
.
owner
=
THIS_MODULE
,
.
write
=
wafwdt_write
,
.
ioctl
=
wafwdt_ioctl
,
.
open
=
wafwdt_open
,
.
release
=
wafwdt_close
,
};
static
struct
miscdevice
wafwdt_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
wafwdt_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
wafwdt_fops
};
/*
...
...
@@ -217,9 +217,9 @@ static struct miscdevice wafwdt_miscdev = {
*/
static
struct
notifier_block
wafwdt_notifier
=
{
wafwdt_notify_sys
,
NULL
,
0
.
notifier_call
=
wafwdt_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
static
int
__init
wafwdt_init
(
void
)
...
...
drivers/char/watchdog/wdt.c
View file @
9051f9de
...
...
@@ -465,17 +465,17 @@ static struct file_operations wdt_fops = {
static
struct
miscdevice
wdt_miscdev
=
{
WATCHDOG_MINOR
,
"watchdog"
,
&
wdt_fops
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
wdt_fops
};
#ifdef CONFIG_WDT_501
static
struct
miscdevice
temp_miscdev
=
{
TEMP_MINOR
,
"temperature"
,
&
wdt_fops
.
minor
=
TEMP_MINOR
,
.
name
=
"temperature"
,
.
fops
=
&
wdt_fops
};
#endif
...
...
@@ -486,9 +486,9 @@ static struct miscdevice temp_miscdev=
static
struct
notifier_block
wdt_notifier
=
{
wdt_notify_sys
,
NULL
,
0
.
notifier_call
=
wdt_notify_sys
,
.
next
=
NULL
,
.
priority
=
0
};
/**
...
...
drivers/char/watchdog/wdt977.c
View file @
9051f9de
...
...
@@ -258,7 +258,7 @@ static int wdt977_ioctl(struct inode *inode, struct file *file,
unsigned
int
cmd
,
unsigned
long
arg
)
{
static
struct
watchdog_info
ident
=
{
identity
:
"Winbond 83977"
.
identity
=
"Winbond 83977"
};
int
temp
;
...
...
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