aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/interface.c')
-rw-r--r--drivers/pnp/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c
index c172b6de6b71..249b4078d1ec 100644
--- a/drivers/pnp/interface.c
+++ b/drivers/pnp/interface.c
@@ -67,7 +67,7 @@ static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
67 67
68 pnp_printf(buffer, "%sirq ", space); 68 pnp_printf(buffer, "%sirq ", space);
69 for (i = 0; i < PNP_IRQ_NR; i++) 69 for (i = 0; i < PNP_IRQ_NR; i++)
70 if (test_bit(i, irq->map)) { 70 if (test_bit(i, irq->map.bits)) {
71 if (!first) { 71 if (!first) {
72 pnp_printf(buffer, ","); 72 pnp_printf(buffer, ",");
73 } else { 73 } else {
@@ -78,7 +78,7 @@ static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
78 else 78 else
79 pnp_printf(buffer, "%i", i); 79 pnp_printf(buffer, "%i", i);
80 } 80 }
81 if (bitmap_empty(irq->map, PNP_IRQ_NR)) 81 if (bitmap_empty(irq->map.bits, PNP_IRQ_NR))
82 pnp_printf(buffer, "<none>"); 82 pnp_printf(buffer, "<none>");
83 if (irq->flags & IORESOURCE_IRQ_HIGHEDGE) 83 if (irq->flags & IORESOURCE_IRQ_HIGHEDGE)
84 pnp_printf(buffer, " High-Edge"); 84 pnp_printf(buffer, " High-Edge");