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
f414d1e6
Commit
f414d1e6
authored
Sep 30, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Convert w83977af_ir to alloc_irdadev().
parent
64b8aa58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/irda/w83977af_ir.c
drivers/net/irda/w83977af_ir.c
+1
-2
No files found.
drivers/net/irda/w83977af_ir.c
View file @
f414d1e6
...
...
@@ -170,8 +170,7 @@ int w83977af_open(int i, unsigned int iobase, unsigned int irq,
/*
* Allocate new instance of the driver
*/
dev
=
alloc_netdev
(
sizeof
(
struct
w83977af_ir
),
"irda%d"
,
irda_device_setup
);
dev
=
alloc_irdadev
(
sizeof
(
struct
w83977af_ir
));
if
(
dev
==
NULL
)
{
printk
(
KERN_ERR
"IrDA: Can't allocate memory for "
"IrDA control block!
\n
"
);
...
...
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