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
efac6a46
Commit
efac6a46
authored
Sep 30, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Convert irda-usb to alloc_irdadev().
parent
70fc5bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/net/irda/irda-usb.c
drivers/net/irda/irda-usb.c
+1
-1
No files found.
drivers/net/irda/irda-usb.c
View file @
efac6a46
...
@@ -1176,7 +1176,7 @@ static inline int irda_usb_open(struct irda_usb_cb *self)
...
@@ -1176,7 +1176,7 @@ static inline int irda_usb_open(struct irda_usb_cb *self)
memset
(
self
->
speed_buff
,
0
,
IRDA_USB_SPEED_MTU
);
memset
(
self
->
speed_buff
,
0
,
IRDA_USB_SPEED_MTU
);
/* Create a network device for us */
/* Create a network device for us */
netdev
=
alloc_
netdev
(
0
,
"irda%d"
,
irda_device_setup
);
netdev
=
alloc_
irdadev
(
0
);
if
(
!
netdev
)
{
if
(
!
netdev
)
{
ERROR
(
"%s(), alloc_net_dev() failed!
\n
"
,
__FUNCTION__
);
ERROR
(
"%s(), alloc_net_dev() failed!
\n
"
,
__FUNCTION__
);
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
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