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
73d5c81e
Commit
73d5c81e
authored
Oct 27, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] update i810 tco to C99
parent
31520f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
drivers/char/i810-tco.c
drivers/char/i810-tco.c
+11
-11
No files found.
drivers/char/i810-tco.c
View file @
73d5c81e
...
...
@@ -244,9 +244,9 @@ static int i810tco_ioctl (struct inode *inode, struct file *file,
int
options
,
retval
=
-
EINVAL
;
static
struct
watchdog_info
ident
=
{
options:
WDIOF_SETTIMEOUT
|
WDIOF_KEEPALIVEPING
,
firmware_version:
0
,
identity:
"i810 TCO timer"
,
.
options
=
WDIOF_SETTIMEOUT
|
WDIOF_KEEPALIVEPING
,
.
firmware_version
=
0
,
.
identity
=
"i810 TCO timer"
,
};
switch
(
cmd
)
{
default:
...
...
@@ -371,17 +371,17 @@ static unsigned char __init i810tco_getdevice (void)
}
static
struct
file_operations
i810tco_fops
=
{
owner:
THIS_MODULE
,
write:
i810tco_write
,
ioctl:
i810tco_ioctl
,
open:
i810tco_open
,
release:
i810tco_release
,
.
owner
=
THIS_MODULE
,
.
write
=
i810tco_write
,
.
ioctl
=
i810tco_ioctl
,
.
open
=
i810tco_open
,
.
release
=
i810tco_release
,
};
static
struct
miscdevice
i810tco_miscdev
=
{
minor:
WATCHDOG_MINOR
,
name:
"watchdog"
,
fops:
&
i810tco_fops
,
.
minor
=
WATCHDOG_MINOR
,
.
name
=
"watchdog"
,
.
fops
=
&
i810tco_fops
,
};
static
int
__init
watchdog_init
(
void
)
...
...
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