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/imxuart.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/imxuart.c')
-rw-r--r-- | sys/dev/fdt/imxuart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxuart.c b/sys/dev/fdt/imxuart.c index 6f3722affc9..84c7eb5aee6 100644 --- a/sys/dev/fdt/imxuart.c +++ b/sys/dev/fdt/imxuart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxuart.c,v 1.3 2018/06/11 09:15:22 kettenis Exp $ */ +/* $OpenBSD: imxuart.c,v 1.4 2018/08/06 10:52:30 patrick Exp $ */ /* * Copyright (c) 2005 Dale Rahn <drahn@motorola.com> * @@ -166,7 +166,7 @@ imxuart_attach(struct device *parent, struct device *self, void *aux) pinctrl_byname(faa->fa_node, "default"); - sc->sc_irq = arm_intr_establish_fdt(faa->fa_node, IPL_TTY, + sc->sc_irq = fdt_intr_establish(faa->fa_node, IPL_TTY, imxuart_intr, sc, sc->sc_dev.dv_xname); sc->sc_node = faa->fa_node; |