summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/imxgpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt/imxgpc.c')
-rw-r--r--sys/dev/fdt/imxgpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fdt/imxgpc.c b/sys/dev/fdt/imxgpc.c
index 02d30aaa5c4..574113014af 100644
--- a/sys/dev/fdt/imxgpc.c
+++ b/sys/dev/fdt/imxgpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxgpc.c,v 1.3 2018/06/10 14:16:00 kettenis Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.4 2018/08/06 10:52:30 patrick Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -57,9 +57,9 @@ imxgpc_attach(struct device *parent, struct device *self, void *aux)
sc->sc_ic.ic_node = faa->fa_node;
sc->sc_ic.ic_cookie = &sc->sc_ic;
- sc->sc_ic.ic_establish = arm_intr_parent_establish_fdt;
- sc->sc_ic.ic_disestablish = arm_intr_parent_disestablish_fdt;
- arm_intr_register_fdt(&sc->sc_ic);
+ sc->sc_ic.ic_establish = fdt_intr_parent_establish;
+ sc->sc_ic.ic_disestablish = fdt_intr_parent_disestablish;
+ fdt_intr_register(&sc->sc_ic);
printf("\n");
}