summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/if_dwge_fdt.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-08-06 10:52:31 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-08-06 10:52:31 +0000
commit756513a8315b6ca749ecd30c0f81bb32e3f9e24e (patch)
tree99a78ffb6065fc7698bf7d29f0fd4a8b11064679 /sys/dev/fdt/if_dwge_fdt.c
parent2f9ac048c224e8b785cddc55c0590b34b8808a36 (diff)
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/if_dwge_fdt.c')
-rw-r--r--sys/dev/fdt/if_dwge_fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/if_dwge_fdt.c b/sys/dev/fdt/if_dwge_fdt.c
index 242465e6de9..b4b1b0fed65 100644
--- a/sys/dev/fdt/if_dwge_fdt.c
+++ b/sys/dev/fdt/if_dwge_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dwge_fdt.c,v 1.7 2018/02/26 13:11:48 kettenis Exp $ */
+/* $OpenBSD: if_dwge_fdt.c,v 1.8 2018/08/06 10:52:30 patrick Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
@@ -141,7 +141,7 @@ dwge_fdt_attach(struct device *parent, struct device *self, void *aux)
/* Reset PHY */
dwge_fdt_reset_phy(fsc);
- fsc->sc_ih = arm_intr_establish_fdt(faa->fa_node, IPL_NET,
+ fsc->sc_ih = fdt_intr_establish(faa->fa_node, IPL_NET,
dwge_fdt_intr, sc, sc->sc_dev.dv_xname);
if (fsc->sc_ih == NULL) {
printf(": unable to establish interrupt\n");