projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/usb-caiaq' into for-linus
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
parisc
/
superio.c
diff --git
a/drivers/parisc/superio.c
b/drivers/parisc/superio.c
index 1e8d2d17f04c63d921fe827402ded98252affa87..1e93c837514f11fdf065ce80703ba57651276a2f 100644
(file)
--- a/
drivers/parisc/superio.c
+++ b/
drivers/parisc/superio.c
@@
-363,7
+363,9
@@
int superio_fixup_irq(struct pci_dev *pcidev)
#endif
for (i = 0; i < 16; i++) {
#endif
for (i = 0; i < 16; i++) {
- irq_desc[i].chip = &superio_interrupt_type;
+ struct irq_desc *desc = irq_to_desc(i);
+
+ desc->chip = &superio_interrupt_type;
}
/*
}
/*