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
4d248241
Commit
4d248241
authored
Sep 30, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Convert via-ircc to alloc_irdadev().
parent
591eb992
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/net/irda/via-ircc.c
drivers/net/irda/via-ircc.c
+1
-2
No files found.
drivers/net/irda/via-ircc.c
View file @
4d248241
...
@@ -335,8 +335,7 @@ static __devinit int via_ircc_open(int i, chipio_t * info, unsigned int id)
...
@@ -335,8 +335,7 @@ static __devinit int via_ircc_open(int i, chipio_t * info, unsigned int id)
return
-
1
;
return
-
1
;
/* Allocate new instance of the driver */
/* Allocate new instance of the driver */
dev
=
alloc_netdev
(
sizeof
(
struct
via_ircc_cb
),
"irda%d"
,
dev
=
alloc_irdadev
(
sizeof
(
struct
via_ircc_cb
));
irda_device_setup
);
if
(
dev
==
NULL
)
if
(
dev
==
NULL
)
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