diff options
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f331feb4eb8d..e4548ab2a93c 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -425,7 +425,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
425 | */ | 425 | */ |
426 | if (state != PCI_D0 && dev->current_state > state) { | 426 | if (state != PCI_D0 && dev->current_state > state) { |
427 | printk(KERN_ERR "%s(): %s: state=%d, current state=%d\n", | 427 | printk(KERN_ERR "%s(): %s: state=%d, current state=%d\n", |
428 | __FUNCTION__, pci_name(dev), state, dev->current_state); | 428 | __func__, pci_name(dev), state, dev->current_state); |
429 | return -EINVAL; | 429 | return -EINVAL; |
430 | } else if (dev->current_state == state) | 430 | } else if (dev->current_state == state) |
431 | return 0; /* we're already there */ | 431 | return 0; /* we're already there */ |