Fix lost PCI modaliases (next) Signed-off-by: Dzianis Kahanovich --- linux-2.6.36-rc4-next-20100917/drivers/usb/otg/langwell_otg.c 2010-09-17 13:11:34.646802996 +0300 +++ b/drivers/usb/otg/langwell_otg.c 2010-09-17 13:17:14.765649883 +0300 @@ -2399,6 +2399,11 @@ static int __init langwell_otg_init(void { return pci_register_driver(&otg_pci_driver); } + +#ifdef CONFIG_PCI +MODULE_DEVICE_TABLE(pci, pci_ids); +#endif + module_init(langwell_otg_init); static void __exit langwell_otg_cleanup(void) --- linux-2.6.36-rc4-next-20100917/drivers/misc/pch_phub.c 2010-09-17 13:11:33.476802996 +0300 +++ b/drivers/misc/pch_phub.c 2010-09-17 13:17:19.873954434 +0300 @@ -710,6 +710,9 @@ static void __exit pch_phub_pci_exit(voi pci_unregister_driver(&pch_phub_driver); } + +MODULE_DEVICE_TABLE(pci, pch_phub_pcidev_id); + module_init(pch_phub_pci_init); module_exit(pch_phub_pci_exit);