Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi use fdtbus_intr_establish_xname



details:   https://anonhg.NetBSD.org/src/rev/51c747d869c3
branches:  trunk
changeset: 949743:51c747d869c3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Jan 15 23:02:07 2021 +0000

description:
use fdtbus_intr_establish_xname

diffstat:

 sys/arch/arm/sunxi/sun6i_spi.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r b88a04db0241 -r 51c747d869c3 sys/arch/arm/sunxi/sun6i_spi.c
--- a/sys/arch/arm/sunxi/sun6i_spi.c    Fri Jan 15 22:59:49 2021 +0000
+++ b/sys/arch/arm/sunxi/sun6i_spi.c    Fri Jan 15 23:02:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun6i_spi.c,v 1.5 2019/08/13 17:03:10 tnn Exp $        */
+/*     $NetBSD: sun6i_spi.c,v 1.6 2021/01/15 23:02:07 jmcneill Exp $   */
 
 /*
  * Copyright (c) 2019 Tobias Nygren
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun6i_spi.c,v 1.5 2019/08/13 17:03:10 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun6i_spi.c,v 1.6 2021/01/15 23:02:07 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -149,8 +149,8 @@
                return;
        }
 
-       sc->sc_intrh = fdtbus_intr_establish(phandle, 0, IPL_VM, 0,
-           sun6ispi_intr, sc);
+       sc->sc_intrh = fdtbus_intr_establish_xname(phandle, 0, IPL_VM, 0,
+           sun6ispi_intr, sc, device_xname(self));
        if (sc->sc_intrh == NULL) {
                aprint_error(": unable to establish interrupt\n");
                return;



Home | Main Index | Thread Index | Old Index