diff options
| -rw-r--r-- | drivers/pci/pci-acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 6c15d6a96935..dbdc5f7e2b29 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
| @@ -186,8 +186,8 @@ static int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
| 186 | [PCI_D0] = ACPI_STATE_D0, | 186 | [PCI_D0] = ACPI_STATE_D0, |
| 187 | [PCI_D1] = ACPI_STATE_D1, | 187 | [PCI_D1] = ACPI_STATE_D1, |
| 188 | [PCI_D2] = ACPI_STATE_D2, | 188 | [PCI_D2] = ACPI_STATE_D2, |
| 189 | [PCI_D3hot] = ACPI_STATE_D3, | 189 | [PCI_D3hot] = ACPI_STATE_D3_COLD, |
| 190 | [PCI_D3cold] = ACPI_STATE_D3 | 190 | [PCI_D3cold] = ACPI_STATE_D3_COLD, |
| 191 | }; | 191 | }; |
| 192 | int error = -EINVAL; | 192 | int error = -EINVAL; |
| 193 | 193 | ||
| @@ -211,7 +211,7 @@ static int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
| 211 | 211 | ||
| 212 | if (!error) | 212 | if (!error) |
| 213 | dev_info(&dev->dev, "power state changed by ACPI to %s\n", | 213 | dev_info(&dev->dev, "power state changed by ACPI to %s\n", |
| 214 | pci_power_name(state)); | 214 | acpi_power_state_string(state_conv[state])); |
| 215 | 215 | ||
| 216 | return error; | 216 | return error; |
| 217 | } | 217 | } |
