mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 00:42:16 +00:00
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>
This commit is contained in:
parent
998dd7c719
commit
13bf757669
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user