summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-02-24 17:38:22 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 17:48:10 (GMT)
commit13bf75766966e1bcc71fae536988caec312eef8f (patch)
tree69e03321e0cb4f1230ab72e77de69170db7996a0
parent998dd7c719f62dcfa91d7bf7f4eb9c160e03d817 (diff)
downloadlinux-13bf75766966e1bcc71fae536988caec312eef8f.tar.xz
x86: use dev_printk in quirk message
This patch changes a VIA PCI quirk to use dev_info() rather than printk(). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgek.org>
-rw-r--r--arch/x86/kernel/pci-dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index b254285..022833b 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -290,8 +290,7 @@ fs_initcall(pci_iommu_init);
static __devinit void via_no_dac(struct pci_dev *dev)
{
if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && forbid_dac == 0) {
- printk(KERN_INFO
- "PCI: VIA PCI bridge detected. Disabling DAC.\n");
+ dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n");
forbid_dac = 1;
}
}