aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r--drivers/pci/hotplug/rpaphp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
index d1297d070a7..6f6cbede513 100644
--- a/drivers/pci/hotplug/rpaphp_pci.c
+++ b/drivers/pci/hotplug/rpaphp_pci.c
@@ -199,7 +199,7 @@ exit_rc:
199 return -EINVAL; 199 return -EINVAL;
200} 200}
201 201
202int register_pci_slot(struct slot *slot) 202int rpaphp_register_pci_slot(struct slot *slot)
203{ 203{
204 int rc = -EINVAL; 204 int rc = -EINVAL;
205 205
@@ -207,7 +207,7 @@ int register_pci_slot(struct slot *slot)
207 goto exit_rc; 207 goto exit_rc;
208 if (setup_pci_slot(slot)) 208 if (setup_pci_slot(slot))
209 goto exit_rc; 209 goto exit_rc;
210 rc = register_slot(slot); 210 rc = rpaphp_register_slot(slot);
211exit_rc: 211exit_rc:
212 return rc; 212 return rc;
213} 213}