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
b71bbdf9
Commit
b71bbdf9
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] region handling cleanups for ali-ircc
parent
3581bbc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
drivers/net/irda/ali-ircc.c
drivers/net/irda/ali-ircc.c
+1
-3
No files found.
drivers/net/irda/ali-ircc.c
View file @
b71bbdf9
...
@@ -281,15 +281,13 @@ static int ali_ircc_open(int i, chipio_t *info)
...
@@ -281,15 +281,13 @@ static int ali_ircc_open(int i, chipio_t *info)
self
->
io
.
fifo_size
=
16
;
/* SIR: 16, FIR: 32 Benjamin 2000/11/1 */
self
->
io
.
fifo_size
=
16
;
/* SIR: 16, FIR: 32 Benjamin 2000/11/1 */
/* Reserve the ioports that we need */
/* Reserve the ioports that we need */
ret
=
check_region
(
self
->
io
.
fir_base
,
self
->
io
.
fir_ext
);
if
(
!
request_region
(
self
->
io
.
fir_base
,
self
->
io
.
fir_ext
,
driver_name
))
{
if
(
ret
<
0
)
{
WARNING
(
"%s(), can't get iobase of 0x%03x
\n
"
,
__FUNCTION__
,
WARNING
(
"%s(), can't get iobase of 0x%03x
\n
"
,
__FUNCTION__
,
self
->
io
.
fir_base
);
self
->
io
.
fir_base
);
dev_self
[
i
]
=
NULL
;
dev_self
[
i
]
=
NULL
;
kfree
(
self
);
kfree
(
self
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
request_region
(
self
->
io
.
fir_base
,
self
->
io
.
fir_ext
,
driver_name
);
/* Initialize QoS for this device */
/* Initialize QoS for this device */
irda_init_max_qos_capabilies
(
&
self
->
qos
);
irda_init_max_qos_capabilies
(
&
self
->
qos
);
...
...
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