Hi,
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.
This patch is against v2.1.19 with the patch
USB serial: add dynamic id support to usb-serial core.
Signed-off-by: Johannes Hölzl <[EMAIL PROTECTED]>
---
diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c
index 8fb391b..84ac5a1 100644
--- a/drivers/usb/serial/aircable.c
+++ b/drivers/usb/serial/aircable.c
@@ -577,7 +577,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,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel