diff options
author | 2018-08-06 10:52:30 +0000 | |
---|---|---|
committer | 2018-08-06 10:52:30 +0000 | |
commit | 70e69ae2c8f1f95570aa4a22a5867910cd3b5bff (patch) | |
tree | f92bc6e6a18c8e59d3220cb816282efb06769a06 /sys/dev/fdt/imxgpc.c | |
parent | Do not set nwid over and over again. We just found the ess by comparing (diff) | |
download | wireguard-openbsd-70e69ae2c8f1f95570aa4a22a5867910cd3b5bff.tar.xz wireguard-openbsd-70e69ae2c8f1f95570aa4a22a5867910cd3b5bff.zip |
Give the FDT interrupt API a more generic naming by replacing the
arm_intr_* prefix with fdt_intr_*.
ok kettenis@
Diffstat (limited to 'sys/dev/fdt/imxgpc.c')
-rw-r--r-- | sys/dev/fdt/imxgpc.c | 8 |
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"); } |