aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp_slot.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-03 22:09:46 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 00:47:09 -0400
commit66bef8c059015ba2b36bb5759080336feb01e680 (patch)
tree9060b134ba07e052bf40e0fbe641dfaa86bcbd9d /drivers/pci/hotplug/rpaphp_slot.c
parentca99eb8c2d56bdfff0161388b81e641f4e039b3f (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/rpaphp_slot.c')
-rw-r--r--drivers/pci/hotplug/rpaphp_slot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/rpaphp_slot.c b/drivers/pci/hotplug/rpaphp_slot.c
index 8ad3debb3794..56197b600d36 100644
--- a/drivers/pci/hotplug/rpaphp_slot.c
+++ b/drivers/pci/hotplug/rpaphp_slot.c
@@ -131,7 +131,7 @@ int rpaphp_deregister_slot(struct slot *slot)
131 struct hotplug_slot *php_slot = slot->hotplug_slot; 131 struct hotplug_slot *php_slot = slot->hotplug_slot;
132 132
133 dbg("%s - Entry: deregistering slot=%s\n", 133 dbg("%s - Entry: deregistering slot=%s\n",
134 __FUNCTION__, slot->name); 134 __func__, slot->name);
135 135
136 list_del(&slot->rpaphp_slot_list); 136 list_del(&slot->rpaphp_slot_list);
137 137
@@ -142,7 +142,7 @@ int rpaphp_deregister_slot(struct slot *slot)
142 if (retval) 142 if (retval)
143 err("Problem unregistering a slot %s\n", slot->name); 143 err("Problem unregistering a slot %s\n", slot->name);
144 144
145 dbg("%s - Exit: rc[%d]\n", __FUNCTION__, retval); 145 dbg("%s - Exit: rc[%d]\n", __func__, retval);
146 return retval; 146 return retval;
147} 147}
148EXPORT_SYMBOL_GPL(rpaphp_deregister_slot); 148EXPORT_SYMBOL_GPL(rpaphp_deregister_slot);
@@ -153,7 +153,7 @@ int rpaphp_register_slot(struct slot *slot)
153 int retval; 153 int retval;
154 154
155 dbg("%s registering slot:path[%s] index[%x], name[%s] pdomain[%x] type[%d]\n", 155 dbg("%s registering slot:path[%s] index[%x], name[%s] pdomain[%x] type[%d]\n",
156 __FUNCTION__, slot->dn->full_name, slot->index, slot->name, 156 __func__, slot->dn->full_name, slot->index, slot->name,
157 slot->power_domain, slot->type); 157 slot->power_domain, slot->type);
158 158
159 /* should not try to register the same slot twice */ 159 /* should not try to register the same slot twice */