diff options
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_res.c')
-rw-r--r-- | drivers/pci/hotplug/ibmphp_res.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pci/hotplug/ibmphp_res.c b/drivers/pci/hotplug/ibmphp_res.c index 5636b1ac2a2e..ec73294d1fa6 100644 --- a/drivers/pci/hotplug/ibmphp_res.c +++ b/drivers/pci/hotplug/ibmphp_res.c | |||
@@ -563,7 +563,7 @@ static void fix_resources (struct bus_node *bus_cur) | |||
563 | struct range_node *range; | 563 | struct range_node *range; |
564 | struct resource_node *res; | 564 | struct resource_node *res; |
565 | 565 | ||
566 | debug ("%s - bus_cur->busno = %d\n", __FUNCTION__, bus_cur->busno); | 566 | debug ("%s - bus_cur->busno = %d\n", __func__, bus_cur->busno); |
567 | 567 | ||
568 | if (bus_cur->needIOUpdate) { | 568 | if (bus_cur->needIOUpdate) { |
569 | res = bus_cur->firstIO; | 569 | res = bus_cur->firstIO; |
@@ -599,7 +599,7 @@ int ibmphp_add_resource (struct resource_node *res) | |||
599 | struct range_node *range_cur = NULL; | 599 | struct range_node *range_cur = NULL; |
600 | struct resource_node *res_start = NULL; | 600 | struct resource_node *res_start = NULL; |
601 | 601 | ||
602 | debug ("%s - enter\n", __FUNCTION__); | 602 | debug ("%s - enter\n", __func__); |
603 | 603 | ||
604 | if (!res) { | 604 | if (!res) { |
605 | err ("NULL passed to add\n"); | 605 | err ("NULL passed to add\n"); |
@@ -762,7 +762,7 @@ int ibmphp_add_resource (struct resource_node *res) | |||
762 | } | 762 | } |
763 | } | 763 | } |
764 | 764 | ||
765 | debug ("%s - exit\n", __FUNCTION__); | 765 | debug ("%s - exit\n", __func__); |
766 | return 0; | 766 | return 0; |
767 | } | 767 | } |
768 | 768 | ||
@@ -1001,7 +1001,7 @@ int ibmphp_check_resource (struct resource_node *res, u8 bridge) | |||
1001 | return -EINVAL; | 1001 | return -EINVAL; |
1002 | } | 1002 | } |
1003 | 1003 | ||
1004 | debug ("%s - enter\n", __FUNCTION__); | 1004 | debug ("%s - enter\n", __func__); |
1005 | debug ("bus_cur->busno is %d\n", bus_cur->busno); | 1005 | debug ("bus_cur->busno is %d\n", bus_cur->busno); |
1006 | 1006 | ||
1007 | /* This is a quick fix to not mess up with the code very much. i.e., | 1007 | /* This is a quick fix to not mess up with the code very much. i.e., |
@@ -1029,7 +1029,7 @@ int ibmphp_check_resource (struct resource_node *res, u8 bridge) | |||
1029 | 1029 | ||
1030 | while (res_cur) { | 1030 | while (res_cur) { |
1031 | range = find_range (bus_cur, res_cur); | 1031 | range = find_range (bus_cur, res_cur); |
1032 | debug ("%s - rangeno = %d\n", __FUNCTION__, res_cur->rangeno); | 1032 | debug ("%s - rangeno = %d\n", __func__, res_cur->rangeno); |
1033 | 1033 | ||
1034 | if (!range) { | 1034 | if (!range) { |
1035 | err ("no range for the device exists... bailing out...\n"); | 1035 | err ("no range for the device exists... bailing out...\n"); |
@@ -1942,7 +1942,7 @@ static int __init update_bridge_ranges (struct bus_node **bus) | |||
1942 | return -ENODEV; | 1942 | return -ENODEV; |
1943 | ibmphp_pci_bus->number = bus_cur->busno; | 1943 | ibmphp_pci_bus->number = bus_cur->busno; |
1944 | 1944 | ||
1945 | debug ("inside %s\n", __FUNCTION__); | 1945 | debug ("inside %s\n", __func__); |
1946 | debug ("bus_cur->busno = %x\n", bus_cur->busno); | 1946 | debug ("bus_cur->busno = %x\n", bus_cur->busno); |
1947 | 1947 | ||
1948 | for (device = 0; device < 32; device++) { | 1948 | for (device = 0; device < 32; device++) { |