usb: Re: #2 (Re: More modaliases + patchtool))

From: Dzianis Kahanovich
Date: Fri Sep 17 2010 - 09:26:11 EST


...


Fix lost USB modaliases

Signed-off-by: Dzianis Kahanovich <mahatma@xxxxx>


--- linux-2.6.36-rc4-git3/drivers/staging/tm6000/tm6000-cards.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/staging/tm6000/tm6000-cards.c 2010-09-17 12:39:02.282665813 +0300
@@ -979,6 +979,9 @@ static void __exit tm6000_module_exit(vo
usb_deregister(&tm6000_usb_driver);
}

+
+MODULE_DEVICE_TABLE(usb, tm6000_id_table);
+
module_init(tm6000_module_init);
module_exit(tm6000_module_exit);

--- linux-2.6.36-rc4-git3/drivers/staging/lirc/lirc_sasem.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/staging/lirc/lirc_sasem.c 2010-09-17 12:39:02.647259613 +0300
@@ -929,5 +929,8 @@ static void __exit sasem_exit(void)
}


+
+MODULE_DEVICE_TABLE(usb, sasem_usb_id_table);
+
module_init(sasem_init);
module_exit(sasem_exit);
--- linux-2.6.36-rc4-git3/drivers/usb/atm/xusbatm.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/usb/atm/xusbatm.c 2010-09-17 12:39:03.203891509 +0300
@@ -217,6 +217,9 @@ static int __init xusbatm_init(void)

return usb_register(&xusbatm_usb_driver);
}
+
+MODULE_DEVICE_TABLE(usb, xusbatm_usb_ids);
+
module_init(xusbatm_init);

static void __exit xusbatm_exit(void)