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
131fc921
Commit
131fc921
authored
Feb 13, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] fix sc1200wdt for CONFIG_PNP=n
parent
ae0fecf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/char/watchdog/sc1200wdt.c
drivers/char/watchdog/sc1200wdt.c
+2
-0
No files found.
drivers/char/watchdog/sc1200wdt.c
View file @
131fc921
...
@@ -397,10 +397,12 @@ static int __init sc1200wdt_init(void)
...
@@ -397,10 +397,12 @@ static int __init sc1200wdt_init(void)
goto
out_clean
;
goto
out_clean
;
}
}
#if defined CONFIG_PNP
/* now that the user has specified an IO port and we haven't detected
/* now that the user has specified an IO port and we haven't detected
* any devices, disable pnp support */
* any devices, disable pnp support */
isapnp
=
0
;
isapnp
=
0
;
pnp_unregister_driver
(
&
scl200wdt_pnp_driver
);
pnp_unregister_driver
(
&
scl200wdt_pnp_driver
);
#endif
if
(
!
request_region
(
io
,
io_len
,
SC1200_MODULE_NAME
))
{
if
(
!
request_region
(
io
,
io_len
,
SC1200_MODULE_NAME
))
{
printk
(
KERN_ERR
PFX
"Unable to register IO port %#x
\n
"
,
io
);
printk
(
KERN_ERR
PFX
"Unable to register IO port %#x
\n
"
,
io
);
...
...
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