diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-03 22:09:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:09 -0400 |
commit | 66bef8c059015ba2b36bb5759080336feb01e680 (patch) | |
tree | 9060b134ba07e052bf40e0fbe641dfaa86bcbd9d /drivers/pci/hotplug/sgi_hotplug.c | |
parent | ca99eb8c2d56bdfff0161388b81e641f4e039b3f (diff) |
PCI: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/sgi_hotplug.c')
-rw-r--r-- | drivers/pci/hotplug/sgi_hotplug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c index ef07c36bccf7..2fe37cd85b69 100644 --- a/drivers/pci/hotplug/sgi_hotplug.c +++ b/drivers/pci/hotplug/sgi_hotplug.c | |||
@@ -367,7 +367,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot) | |||
367 | ret = acpi_load_table((struct acpi_table_header *)ssdt); | 367 | ret = acpi_load_table((struct acpi_table_header *)ssdt); |
368 | if (ACPI_FAILURE(ret)) { | 368 | if (ACPI_FAILURE(ret)) { |
369 | printk(KERN_ERR "%s: acpi_load_table failed (0x%x)\n", | 369 | printk(KERN_ERR "%s: acpi_load_table failed (0x%x)\n", |
370 | __FUNCTION__, ret); | 370 | __func__, ret); |
371 | /* try to continue on */ | 371 | /* try to continue on */ |
372 | } | 372 | } |
373 | } | 373 | } |
@@ -459,7 +459,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot) | |||
459 | if (ACPI_FAILURE(ret)) { | 459 | if (ACPI_FAILURE(ret)) { |
460 | printk(KERN_ERR "%s: acpi_bus_add " | 460 | printk(KERN_ERR "%s: acpi_bus_add " |
461 | "failed (0x%x) for slot %d " | 461 | "failed (0x%x) for slot %d " |
462 | "func %d\n", __FUNCTION__, | 462 | "func %d\n", __func__, |
463 | ret, (int)(adr>>16), | 463 | ret, (int)(adr>>16), |
464 | (int)(adr&0xffff)); | 464 | (int)(adr&0xffff)); |
465 | /* try to continue on */ | 465 | /* try to continue on */ |
@@ -570,7 +570,7 @@ static int disable_slot(struct hotplug_slot *bss_hotplug_slot) | |||
570 | if (ACPI_FAILURE(ret)) { | 570 | if (ACPI_FAILURE(ret)) { |
571 | printk(KERN_ERR "%s: acpi_unload_table_id " | 571 | printk(KERN_ERR "%s: acpi_unload_table_id " |
572 | "failed (0x%x) for id %d\n", | 572 | "failed (0x%x) for id %d\n", |
573 | __FUNCTION__, ret, ssdt_id); | 573 | __func__, ret, ssdt_id); |
574 | /* try to continue on */ | 574 | /* try to continue on */ |
575 | } | 575 | } |
576 | } | 576 | } |
@@ -689,7 +689,7 @@ static int sn_pci_hotplug_init(void) | |||
689 | 689 | ||
690 | if (!sn_prom_feature_available(PRF_HOTPLUG_SUPPORT)) { | 690 | if (!sn_prom_feature_available(PRF_HOTPLUG_SUPPORT)) { |
691 | printk(KERN_ERR "%s: PROM version does not support hotplug.\n", | 691 | printk(KERN_ERR "%s: PROM version does not support hotplug.\n", |
692 | __FUNCTION__); | 692 | __func__); |
693 | return -EPERM; | 693 | return -EPERM; |
694 | } | 694 | } |
695 | 695 | ||