|
@@ -228,7 +228,7 @@ static void ehci_pci_register_types(void)
|
|
for (i = 0; i < ARRAY_SIZE(ehci_pci_info); i++) {
|
|
for (i = 0; i < ARRAY_SIZE(ehci_pci_info); i++) {
|
|
ehci_type_info.name = ehci_pci_info[i].name;
|
|
ehci_type_info.name = ehci_pci_info[i].name;
|
|
ehci_type_info.class_data = ehci_pci_info + i;
|
|
ehci_type_info.class_data = ehci_pci_info + i;
|
|
- type_register(&ehci_type_info);
|
|
|
|
|
|
+ type_register_static(&ehci_type_info);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|