Commit 13bf7576 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Jesse Barnes

x86: use dev_printk in quirk message

This patch changes a VIA PCI quirk to use dev_info() rather than printk().
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgek.org>
parent 998dd7c7
...@@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init); ...@@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init);
static __devinit void via_no_dac(struct pci_dev *dev) static __devinit void via_no_dac(struct pci_dev *dev)
{ {
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) { if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) {
printk(KERN_INFO dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n");
"PCI: VIA PCI bridge detected. Disabling DAC.\n");
forbid_dac = 1; forbid_dac = 1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment