X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fpci%2Fhotplug%2Fshpchp_core.c;h=f0c53f850aedb12b2c7be0eeaeb5b39146b12eff;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=4f7a11d87b272efea3d40c49456da39ee6aa0fc3;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c index 4f7a11d87..f0c53f850 100644 --- a/drivers/pci/hotplug/shpchp_core.c +++ b/drivers/pci/hotplug/shpchp_core.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -599,8 +598,8 @@ static int __init shpcd_init(void) retval = shpchprm_init(PCI); if (!retval) { - retval = pci_module_init(&shpc_driver); - dbg("%s: pci_module_init = %d\n", __FUNCTION__, retval); + retval = pci_register_driver(&shpc_driver); + dbg("%s: pci_register_driver = %d\n", __FUNCTION__, retval); info(DRIVER_DESC " version: " DRIVER_VERSION "\n"); }