diff options
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, |