PCI: pcieport-driver: remove invalid warning message
The following warning message should not be displayed for devices which don't use an interrupt pin. pcie_portdrv_probe->Dev[XXXX:XXXX] has invalid IRQ. Check vendor BIOS Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f1e79092d9
commit
83e42bcdd3
|
@ -90,7 +90,7 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
|
|||
return -ENODEV;
|
||||
|
||||
pci_set_master(dev);
|
||||
if (!dev->irq) {
|
||||
if (!dev->irq && dev->pin) {
|
||||
printk(KERN_WARNING
|
||||
"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n",
|
||||
__FUNCTION__, dev->device, dev->vendor);
|
||||
|
|
Loading…
Reference in New Issue