mirror of https://gitee.com/openkylin/linux.git
USB: mxu11x0: rename usb-serial driver
Rename the usb-serial driver "mxu11x0" to match the USB driver name. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
9631595a25
commit
554eb0f205
|
@ -958,10 +958,10 @@ static void mxu1_interrupt_callback(struct urb *urb)
|
|||
status);
|
||||
}
|
||||
|
||||
static struct usb_serial_driver mxuport11_device = {
|
||||
static struct usb_serial_driver mxu11x0_device = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "mxuport11",
|
||||
.name = "mxu11x0",
|
||||
},
|
||||
.description = "MOXA UPort 11x0",
|
||||
.id_table = mxu1_idtable,
|
||||
|
@ -981,7 +981,7 @@ static struct usb_serial_driver mxuport11_device = {
|
|||
};
|
||||
|
||||
static struct usb_serial_driver *const serial_drivers[] = {
|
||||
&mxuport11_device, NULL
|
||||
&mxu11x0_device, NULL
|
||||
};
|
||||
|
||||
module_usb_serial_driver(serial_drivers, mxu1_idtable);
|
||||
|
|
Loading…
Reference in New Issue