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
020cbcea
Commit
020cbcea
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sbc60xxwdt region fix
From 2.4
parent
ca18a0f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/char/watchdog/sbc60xxwdt.c
drivers/char/watchdog/sbc60xxwdt.c
+4
-3
No files found.
drivers/char/watchdog/sbc60xxwdt.c
View file @
020cbcea
...
@@ -310,15 +310,16 @@ static void __exit sbc60xxwdt_unload(void)
...
@@ -310,15 +310,16 @@ static void __exit sbc60xxwdt_unload(void)
unregister_reboot_notifier
(
&
wdt_notifier
);
unregister_reboot_notifier
(
&
wdt_notifier
);
release_region
(
WDT_START
,
1
);
release_region
(
WDT_START
,
1
);
release_region
(
WDT_STOP
,
1
);
//
release_region(WDT_STOP,1);
}
}
static
int
__init
sbc60xxwdt_init
(
void
)
static
int
__init
sbc60xxwdt_init
(
void
)
{
{
int
rc
=
-
EBUSY
;
int
rc
=
-
EBUSY
;
if
(
!
request_region
(
WDT_STOP
,
1
,
"SBC 60XX WDT"
))
// We cannot reserve 0x45 - the kernel already has!
goto
err_out
;
// if (!request_region(WDT_STOP, 1, "SBC 60XX WDT"))
// goto err_out;
if
(
!
request_region
(
WDT_START
,
1
,
"SBC 60XX WDT"
))
if
(
!
request_region
(
WDT_START
,
1
,
"SBC 60XX WDT"
))
goto
err_out_region1
;
goto
err_out_region1
;
...
...
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