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/shpchp_pci.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/shpchp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/shpchp_pci.c b/drivers/pci/hotplug/shpchp_pci.c index a69a21520895..3fc4ec0eea0b 100644 --- a/drivers/pci/hotplug/shpchp_pci.c +++ b/drivers/pci/hotplug/shpchp_pci.c | |||
@@ -51,7 +51,7 @@ static void program_fw_provided_values(struct pci_dev *dev) | |||
51 | !hpp.t0 || (hpp.t0->revision > 1)) { | 51 | !hpp.t0 || (hpp.t0->revision > 1)) { |
52 | printk(KERN_WARNING | 52 | printk(KERN_WARNING |
53 | "%s: Could not get hotplug parameters. Use defaults\n", | 53 | "%s: Could not get hotplug parameters. Use defaults\n", |
54 | __FUNCTION__); | 54 | __func__); |
55 | hpp.t0 = &hpp.type0_data; | 55 | hpp.t0 = &hpp.type0_data; |
56 | hpp.t0->revision = 0; | 56 | hpp.t0->revision = 0; |
57 | hpp.t0->cache_line_size = 8; | 57 | hpp.t0->cache_line_size = 8; |
@@ -169,7 +169,7 @@ int shpchp_unconfigure_device(struct slot *p_slot) | |||
169 | u8 bctl = 0; | 169 | u8 bctl = 0; |
170 | struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; | 170 | struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; |
171 | 171 | ||
172 | dbg("%s: bus/dev = %x/%x\n", __FUNCTION__, p_slot->bus, p_slot->device); | 172 | dbg("%s: bus/dev = %x/%x\n", __func__, p_slot->bus, p_slot->device); |
173 | 173 | ||
174 | for (j=0; j<8 ; j++) { | 174 | for (j=0; j<8 ; j++) { |
175 | struct pci_dev* temp = pci_get_slot(parent, | 175 | struct pci_dev* temp = pci_get_slot(parent, |