aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/unit-asb2305/pci-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/unit-asb2305/pci-irq.c')
-rw-r--r--arch/mn10300/unit-asb2305/pci-irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/unit-asb2305/pci-irq.c b/arch/mn10300/unit-asb2305/pci-irq.c
index 91212ea71e69..77439da04671 100644
--- a/arch/mn10300/unit-asb2305/pci-irq.c
+++ b/arch/mn10300/unit-asb2305/pci-irq.c
@@ -29,7 +29,7 @@ void __init pcibios_fixup_irqs(void)
29 struct pci_dev *dev = NULL; 29 struct pci_dev *dev = NULL;
30 u8 line, pin; 30 u8 line, pin;
31 31
32 while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { 32 for_each_pci_dev(dev) {
33 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 33 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
34 if (pin) { 34 if (pin) {
35 dev->irq = XIRQ1; 35 dev->irq = XIRQ1;