diff options
Diffstat (limited to 'arch/cris/arch-v32/drivers/pci/bios.c')
-rw-r--r-- | arch/cris/arch-v32/drivers/pci/bios.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/drivers/pci/bios.c b/arch/cris/arch-v32/drivers/pci/bios.c index a2b9c60c2777..5b79a7a772d4 100644 --- a/arch/cris/arch-v32/drivers/pci/bios.c +++ b/arch/cris/arch-v32/drivers/pci/bios.c | |||
@@ -100,7 +100,9 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
100 | if ((err = pcibios_enable_resources(dev, mask)) < 0) | 100 | if ((err = pcibios_enable_resources(dev, mask)) < 0) |
101 | return err; | 101 | return err; |
102 | 102 | ||
103 | return pcibios_enable_irq(dev); | 103 | if (!dev->msi_enabled) |
104 | pcibios_enable_irq(dev); | ||
105 | return 0; | ||
104 | } | 106 | } |
105 | 107 | ||
106 | int pcibios_assign_resources(void) | 108 | int pcibios_assign_resources(void) |