提交 52d67f0b 编写于 作者: J Johannes Hölzl 提交者: Greg Kroah-Hartman

USB: Bugfix for aircable: Add module and name to usb_serial_driver

While adding the dynamic-id support to usb serial I found a small bug in
the air cable driver:

Adds module and name information to the usb_serial_driver instance
of aircable. So the aircable driver is correctly shown under
/sys/bus/usb-serial/drivers/aircable and has the module link.
Signed-off-by: NJohannes Hölzl <johannes.hoelzl@gmx.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 d9b1b787
......@@ -581,7 +581,10 @@ static struct usb_driver aircable_driver = {
};
static struct usb_serial_driver aircable_device = {
.description = "aircable",
.driver = {
.owner = THIS_MODULE,
.name = "aircable",
},
.usb_driver = &aircable_driver,
.id_table = id_table,
.num_ports = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册