diff options
author | linas@austin.ibm.com <linas@austin.ibm.com> | 2006-01-12 19:31:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 21:00:13 -0500 |
commit | f6afbad82c6b7bab0198442592b110341fb419ba (patch) | |
tree | 6a444ff2b09cc08e93f6f2825b6cfc5e507a029e /drivers/pci/hotplug/rpaphp_pci.c | |
parent | e06b80b78db96ca272db4ec0b26ce1092a1a9704 (diff) |
[PATCH] powerpc/PCI hotplug: cleanup: add prefix
Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines.
Remove rpaphp_remove_slot(), which is a one-liner.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c index d1297d070a75..6f6cbede5135 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 | ||
202 | int register_pci_slot(struct slot *slot) | 202 | int 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); |
211 | exit_rc: | 211 | exit_rc: |
212 | return rc; | 212 | return rc; |
213 | } | 213 | } |