aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/rtas_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
-rw-r--r--arch/powerpc/kernel/rtas_pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c
index 433a0a0949fb..945e8f4db873 100644
--- a/arch/powerpc/kernel/rtas_pci.c
+++ b/arch/powerpc/kernel/rtas_pci.c
@@ -326,7 +326,7 @@ int pcibios_remove_root_bus(struct pci_controller *phb)
326 326
327 res = b->resource[0]; 327 res = b->resource[0];
328 if (!res->flags) { 328 if (!res->flags) {
329 printk(KERN_ERR "%s: no IO resource for PHB %s\n", __FUNCTION__, 329 printk(KERN_ERR "%s: no IO resource for PHB %s\n", __func__,
330 b->name); 330 b->name);
331 return 1; 331 return 1;
332 } 332 }
@@ -334,13 +334,13 @@ int pcibios_remove_root_bus(struct pci_controller *phb)
334 rc = pcibios_unmap_io_space(b); 334 rc = pcibios_unmap_io_space(b);
335 if (rc) { 335 if (rc) {
336 printk(KERN_ERR "%s: failed to unmap IO on bus %s\n", 336 printk(KERN_ERR "%s: failed to unmap IO on bus %s\n",
337 __FUNCTION__, b->name); 337 __func__, b->name);
338 return 1; 338 return 1;
339 } 339 }
340 340
341 if (release_resource(res)) { 341 if (release_resource(res)) {
342 printk(KERN_ERR "%s: failed to release IO on bus %s\n", 342 printk(KERN_ERR "%s: failed to release IO on bus %s\n",
343 __FUNCTION__, b->name); 343 __func__, b->name);
344 return 1; 344 return 1;
345 } 345 }
346 346
@@ -348,13 +348,13 @@ int pcibios_remove_root_bus(struct pci_controller *phb)
348 res = b->resource[i]; 348 res = b->resource[i];
349 if (!res->flags && i == 0) { 349 if (!res->flags && i == 0) {
350 printk(KERN_ERR "%s: no MEM resource for PHB %s\n", 350 printk(KERN_ERR "%s: no MEM resource for PHB %s\n",
351 __FUNCTION__, b->name); 351 __func__, b->name);
352 return 1; 352 return 1;
353 } 353 }
354 if (res->flags && release_resource(res)) { 354 if (res->flags && release_resource(res)) {
355 printk(KERN_ERR 355 printk(KERN_ERR
356 "%s: failed to release IO %d on bus %s\n", 356 "%s: failed to release IO %d on bus %s\n",
357 __FUNCTION__, i, b->name); 357 __func__, i, b->name);
358 return 1; 358 return 1;
359 } 359 }
360 } 360 }