summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac/macgpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/powermac/macgpio.c')
-rw-r--r--sys/powerpc/powermac/macgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/macgpio.c b/sys/powerpc/powermac/macgpio.c
index a5d5772..709bcff 100644
--- a/sys/powerpc/powermac/macgpio.c
+++ b/sys/powerpc/powermac/macgpio.c
@@ -191,7 +191,7 @@ macgpio_attach(device_t dev)
OF_searchprop(child, "interrupt-parent", &iparent,
sizeof(iparent));
resource_list_add(&dinfo->mdi_resources, SYS_RES_IRQ,
- 0, INTR_VEC(iparent, irq), INTR_VEC(iparent, irq),
+ 0, MAP_IRQ(iparent, irq), MAP_IRQ(iparent, irq),
1);
}
OpenPOWER on IntegriCloud