diff options
Diffstat (limited to 'drivers/pci/hotplug/cpci_hotplug_pci.c')
-rw-r--r-- | drivers/pci/hotplug/cpci_hotplug_pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/cpci_hotplug_pci.c b/drivers/pci/hotplug/cpci_hotplug_pci.c index b3515fc4cd38..df82b95e2874 100644 --- a/drivers/pci/hotplug/cpci_hotplug_pci.c +++ b/drivers/pci/hotplug/cpci_hotplug_pci.c | |||
@@ -255,7 +255,7 @@ int __ref cpci_configure_slot(struct slot *slot) | |||
255 | struct pci_bus *parent; | 255 | struct pci_bus *parent; |
256 | int fn; | 256 | int fn; |
257 | 257 | ||
258 | dbg("%s - enter", __FUNCTION__); | 258 | dbg("%s - enter", __func__); |
259 | 259 | ||
260 | if (slot->dev == NULL) { | 260 | if (slot->dev == NULL) { |
261 | dbg("pci_dev null, finding %02x:%02x:%x", | 261 | dbg("pci_dev null, finding %02x:%02x:%x", |
@@ -273,7 +273,7 @@ int __ref cpci_configure_slot(struct slot *slot) | |||
273 | * we will only call this case when lookup fails. | 273 | * we will only call this case when lookup fails. |
274 | */ | 274 | */ |
275 | n = pci_scan_slot(slot->bus, slot->devfn); | 275 | n = pci_scan_slot(slot->bus, slot->devfn); |
276 | dbg("%s: pci_scan_slot returned %d", __FUNCTION__, n); | 276 | dbg("%s: pci_scan_slot returned %d", __func__, n); |
277 | slot->dev = pci_get_slot(slot->bus, slot->devfn); | 277 | slot->dev = pci_get_slot(slot->bus, slot->devfn); |
278 | if (slot->dev == NULL) { | 278 | if (slot->dev == NULL) { |
279 | err("Could not find PCI device for slot %02x", slot->number); | 279 | err("Could not find PCI device for slot %02x", slot->number); |
@@ -322,7 +322,7 @@ int __ref cpci_configure_slot(struct slot *slot) | |||
322 | pci_bus_add_devices(parent); | 322 | pci_bus_add_devices(parent); |
323 | pci_enable_bridges(parent); | 323 | pci_enable_bridges(parent); |
324 | 324 | ||
325 | dbg("%s - exit", __FUNCTION__); | 325 | dbg("%s - exit", __func__); |
326 | return 0; | 326 | return 0; |
327 | } | 327 | } |
328 | 328 | ||
@@ -331,7 +331,7 @@ int cpci_unconfigure_slot(struct slot* slot) | |||
331 | int i; | 331 | int i; |
332 | struct pci_dev *dev; | 332 | struct pci_dev *dev; |
333 | 333 | ||
334 | dbg("%s - enter", __FUNCTION__); | 334 | dbg("%s - enter", __func__); |
335 | if (!slot->dev) { | 335 | if (!slot->dev) { |
336 | err("No device for slot %02x\n", slot->number); | 336 | err("No device for slot %02x\n", slot->number); |
337 | return -ENODEV; | 337 | return -ENODEV; |
@@ -348,6 +348,6 @@ int cpci_unconfigure_slot(struct slot* slot) | |||
348 | pci_dev_put(slot->dev); | 348 | pci_dev_put(slot->dev); |
349 | slot->dev = NULL; | 349 | slot->dev = NULL; |
350 | 350 | ||
351 | dbg("%s - exit", __FUNCTION__); | 351 | dbg("%s - exit", __func__); |
352 | return 0; | 352 | return 0; |
353 | } | 353 | } |