diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-05-28 04:03:46 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-05-28 13:22:02 -0400 |
commit | e7d4515209db5246245eb5667a94ad86ba9a12cc (patch) | |
tree | b9329ce394c13170a379e012c4c38e87335f9b56 /drivers/pci | |
parent | 2dfca877b3c599ec081c23939b34ee22576e0833 (diff) |
PCI: Replace printks with appropriate pr_*()
Replace deprecated printk(KERN_ERR...) with pr_err() in pci-acpi.c
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index e4b1fb2c0f5d..6c15d6a96935 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -376,12 +376,12 @@ static int __init acpi_pci_init(void) | |||
376 | int ret; | 376 | int ret; |
377 | 377 | ||
378 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) { | 378 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) { |
379 | printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); | 379 | pr_info("ACPI FADT declares the system doesn't support MSI, so disable it\n"); |
380 | pci_no_msi(); | 380 | pci_no_msi(); |
381 | } | 381 | } |
382 | 382 | ||
383 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) { | 383 | if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) { |
384 | printk(KERN_INFO"ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); | 384 | pr_info("ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n"); |
385 | pcie_no_aspm(); | 385 | pcie_no_aspm(); |
386 | } | 386 | } |
387 | 387 | ||