aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpacpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r--drivers/pnp/pnpacpi/rsparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/pnpacpi/rsparser.c b/drivers/pnp/pnpacpi/rsparser.c
index 46069e64a6b2..ae65454a23bb 100644
--- a/drivers/pnp/pnpacpi/rsparser.c
+++ b/drivers/pnp/pnpacpi/rsparser.c
@@ -442,7 +442,7 @@ static __init void pnpacpi_parse_irq_option(struct pnp_dev *dev,
442 442
443 for (i = 0; i < p->interrupt_count; i++) 443 for (i = 0; i < p->interrupt_count; i++)
444 if (p->interrupts[i]) 444 if (p->interrupts[i])
445 __set_bit(p->interrupts[i], irq->map); 445 __set_bit(p->interrupts[i], irq->map.bits);
446 irq->flags = irq_flags(p->triggering, p->polarity, p->sharable); 446 irq->flags = irq_flags(p->triggering, p->polarity, p->sharable);
447 447
448 pnp_register_irq_resource(dev, option, irq); 448 pnp_register_irq_resource(dev, option, irq);
@@ -463,7 +463,7 @@ static __init void pnpacpi_parse_ext_irq_option(struct pnp_dev *dev,
463 463
464 for (i = 0; i < p->interrupt_count; i++) 464 for (i = 0; i < p->interrupt_count; i++)
465 if (p->interrupts[i]) 465 if (p->interrupts[i])
466 __set_bit(p->interrupts[i], irq->map); 466 __set_bit(p->interrupts[i], irq->map.bits);
467 irq->flags = irq_flags(p->triggering, p->polarity, p->sharable); 467 irq->flags = irq_flags(p->triggering, p->polarity, p->sharable);
468 468
469 pnp_register_irq_resource(dev, option, irq); 469 pnp_register_irq_resource(dev, option, irq);