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
1b2fe820
Commit
1b2fe820
authored
Dec 25, 2002
by
Greg Kroah-Hartman
Committed by
Vojtech Pavlik
Dec 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: make the usbserial driver have the same name for the tty, usb, and module subsystems.
parent
5a8e410f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/usb/serial/usb-serial.c
drivers/usb/serial/usb-serial.c
+2
-2
No files found.
drivers/usb/serial/usb-serial.c
View file @
1b2fe820
...
...
@@ -366,7 +366,7 @@ static struct usb_device_id generic_serial_ids[] = {
/* Driver structure we register with the USB core */
static
struct
usb_driver
usb_serial_driver
=
{
.
name
=
"serial"
,
.
name
=
"
usb
serial"
,
.
probe
=
usb_serial_probe
,
.
disconnect
=
usb_serial_disconnect
,
#ifdef CONFIG_USB_SERIAL_GENERIC
...
...
@@ -1259,7 +1259,7 @@ void usb_serial_disconnect(struct usb_interface *interface)
struct
tty_driver
usb_serial_tty_driver
=
{
.
magic
=
TTY_DRIVER_MAGIC
,
.
driver_name
=
"usb
-
serial"
,
.
driver_name
=
"usbserial"
,
#ifndef CONFIG_DEVFS_FS
.
name
=
"ttyUSB"
,
#else
...
...
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