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
393fce22
Commit
393fce22
authored
May 16, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix build error in drivers/usb/serial/console.c
Thanks to Adrian Bunk <bunk@fs.tum.de> for pointing this out.
parent
bd7b6c43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/usb/serial/console.c
drivers/usb/serial/console.c
+1
-1
No files found.
drivers/usb/serial/console.c
View file @
393fce22
...
@@ -137,7 +137,7 @@ static int __init usb_console_setup(struct console *co, char *options)
...
@@ -137,7 +137,7 @@ static int __init usb_console_setup(struct console *co, char *options)
/* grab the first serial port that happens to be connected */
/* grab the first serial port that happens to be connected */
serial
=
usb_serial_get_by_index
(
0
);
serial
=
usb_serial_get_by_index
(
0
);
if
(
serial
_paranoia_check
(
serial
,
__FUNCTION__
)
)
{
if
(
serial
==
NULL
)
{
/* no device is connected yet, sorry :( */
/* no device is connected yet, sorry :( */
err
(
"No USB device connected to ttyUSB0"
);
err
(
"No USB device connected to ttyUSB0"
);
return
-
ENODEV
;
return
-
ENODEV
;
...
...
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