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
64b8aa58
Commit
64b8aa58
authored
Sep 30, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Convert nsc-ircc to alloc_irdadev().
parent
8fd2eca4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/irda/nsc-ircc.c
drivers/net/irda/nsc-ircc.c
+1
-2
No files found.
drivers/net/irda/nsc-ircc.c
View file @
64b8aa58
...
@@ -260,8 +260,7 @@ static int __init nsc_ircc_open(int i, chipio_t *info)
...
@@ -260,8 +260,7 @@ static int __init nsc_ircc_open(int i, chipio_t *info)
MESSAGE
(
"%s, driver loaded (Dag Brattli)
\n
"
,
driver_name
);
MESSAGE
(
"%s, driver loaded (Dag Brattli)
\n
"
,
driver_name
);
dev
=
alloc_netdev
(
sizeof
(
struct
nsc_ircc_cb
),
"irda%d"
,
dev
=
alloc_irdadev
(
sizeof
(
struct
nsc_ircc_cb
));
irda_device_setup
);
if
(
dev
==
NULL
)
{
if
(
dev
==
NULL
)
{
ERROR
(
"%s(), can't allocate memory for "
ERROR
(
"%s(), can't allocate memory for "
"control block!
\n
"
,
__FUNCTION__
);
"control block!
\n
"
,
__FUNCTION__
);
...
...
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