PNP: introduce pnp_irq_mask_t typedef
This adds a typedef for the IRQ bitmap, which should cause no functional change, but will make it easier to pass a pointer to a bitmap to pnp_register_irq_resource(). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
committed by
Andi Kleen
parent
a1802c4295
commit
7aefff5185
@@ -441,7 +441,7 @@ static void __init isapnp_parse_irq_resource(struct pnp_dev *dev,
|
||||
if (!irq)
|
||||
return;
|
||||
bits = (tmp[1] << 8) | tmp[0];
|
||||
bitmap_copy(irq->map, &bits, 16);
|
||||
bitmap_copy(irq->map.bits, &bits, 16);
|
||||
if (size > 2)
|
||||
irq->flags = tmp[2];
|
||||
else
|
||||
|
Reference in New Issue
Block a user