summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-02-24 10:38:22 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 10:48:10 -0700
commit13bf75766966e1bcc71fae536988caec312eef8f (patch)
tree69e03321e0cb4f1230ab72e77de69170db7996a0
parent998dd7c719f62dcfa91d7bf7f4eb9c160e03d817 (diff)
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 b25428533141..022833bb9ff1 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;
}
}