提交 554eb0f2 编写于 作者: J Johan Hovold

USB: mxu11x0: rename usb-serial driver

Rename the usb-serial driver "mxu11x0" to match the USB driver name.
Signed-off-by: NJohan Hovold <johan@kernel.org>
上级 9631595a
...@@ -958,10 +958,10 @@ static void mxu1_interrupt_callback(struct urb *urb) ...@@ -958,10 +958,10 @@ static void mxu1_interrupt_callback(struct urb *urb)
status); status);
} }
static struct usb_serial_driver mxuport11_device = { static struct usb_serial_driver mxu11x0_device = {
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = "mxuport11", .name = "mxu11x0",
}, },
.description = "MOXA UPort 11x0", .description = "MOXA UPort 11x0",
.id_table = mxu1_idtable, .id_table = mxu1_idtable,
...@@ -981,7 +981,7 @@ static struct usb_serial_driver mxuport11_device = { ...@@ -981,7 +981,7 @@ static struct usb_serial_driver mxuport11_device = {
}; };
static struct usb_serial_driver *const serial_drivers[] = { static struct usb_serial_driver *const serial_drivers[] = {
&mxuport11_device, NULL &mxu11x0_device, NULL
}; };
module_usb_serial_driver(serial_drivers, mxu1_idtable); module_usb_serial_driver(serial_drivers, mxu1_idtable);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册