summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/tcpci.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2021-02-05 00:42:25 +0000
committerpatrick <patrick@openbsd.org>2021-02-05 00:42:25 +0000
commitf776eaae381ea64a302925e7fe4592025fad096c (patch)
tree6d86ba5e0d7c9575543c5216c1f09d6aa51f4b1e /sys/dev/fdt/tcpci.c
parentFix CVS tag. (diff)
downloadwireguard-openbsd-f776eaae381ea64a302925e7fe4592025fad096c.tar.xz
wireguard-openbsd-f776eaae381ea64a302925e7fe4592025fad096c.zip
arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().
Diffstat (limited to 'sys/dev/fdt/tcpci.c')
-rw-r--r--sys/dev/fdt/tcpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/tcpci.c b/sys/dev/fdt/tcpci.c
index 46cf1ae91f8..d521fb388c3 100644
--- a/sys/dev/fdt/tcpci.c
+++ b/sys/dev/fdt/tcpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpci.c,v 1.1 2020/04/27 21:30:52 patrick Exp $ */
+/* $OpenBSD: tcpci.c,v 1.2 2021/02/05 00:42:25 patrick Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
@@ -232,7 +232,7 @@ tcpci_attach(struct device *parent, struct device *self, void *aux)
pinctrl_byname(sc->sc_node, "default");
task_set(&sc->sc_task, tcpci_task, sc);
- sc->sc_ih = arm_intr_establish_fdt(sc->sc_node, IPL_BIO,
+ sc->sc_ih = fdt_intr_establish(sc->sc_node, IPL_BIO,
tcpci_intr, sc, sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
printf(": unable to establish interrupt\n");