diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-07 19:22:37 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 22:29:20 -0400 |
commit | e496b617b40f2abf6d49803f56aa1344ce1b9177 (patch) | |
tree | 895638825c123c79ecc8cb0dd105acde16d7f014 /drivers/pci/pci.c | |
parent | 1cc0ca26c57221f5aa0f49a311a8fc83413dfe97 (diff) |
PCI: __FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 6d6120007af4..5737b8a9a732 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -657,7 +657,7 @@ static int pci_save_pcie_state(struct pci_dev *dev) | |||
657 | 657 | ||
658 | save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); | 658 | save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); |
659 | if (!save_state) { | 659 | if (!save_state) { |
660 | dev_err(&dev->dev, "buffer not found in %s\n", __FUNCTION__); | 660 | dev_err(&dev->dev, "buffer not found in %s\n", __func__); |
661 | return -ENOMEM; | 661 | return -ENOMEM; |
662 | } | 662 | } |
663 | cap = (u16 *)&save_state->data[0]; | 663 | cap = (u16 *)&save_state->data[0]; |
@@ -700,7 +700,7 @@ static int pci_save_pcix_state(struct pci_dev *dev) | |||
700 | 700 | ||
701 | save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); | 701 | save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); |
702 | if (!save_state) { | 702 | if (!save_state) { |
703 | dev_err(&dev->dev, "buffer not found in %s\n", __FUNCTION__); | 703 | dev_err(&dev->dev, "buffer not found in %s\n", __func__); |
704 | return -ENOMEM; | 704 | return -ENOMEM; |
705 | } | 705 | } |
706 | 706 | ||