summaryrefslogtreecommitdiff
path: root/drivers/hotplug/ibmphp_core.c
diff options
context:
space:
mode:
authorIrene Zubarev <zubarev@us.ibm.com>2002-09-09 00:40:30 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2002-09-09 00:40:30 -0700
commitef7f120ab49379a4745574dddf480c845ea2c7ab (patch)
tree05fd1489349c7677423289d7ec1c44daf5a21265 /drivers/hotplug/ibmphp_core.c
parent9adaeddf526a83c4ad09b33588f20679bec85e22 (diff)
[PATCH] IBM PCI Hotplug driver update for PCI based controllers
Diffstat (limited to 'drivers/hotplug/ibmphp_core.c')
-rw-r--r--drivers/hotplug/ibmphp_core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c
index 72907414443f..713943370a76 100644
--- a/drivers/hotplug/ibmphp_core.c
+++ b/drivers/hotplug/ibmphp_core.c
@@ -1636,6 +1636,11 @@ static int __init ibmphp_init (void)
max_slots = get_max_slots ();
+ if ((rc = ibmphp_register_pci ())) {
+ ibmphp_unload ();
+ return rc;
+ }
+
if (init_ops ()) {
ibmphp_unload ();
return -ENODEV;