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 make function prototype consistent



details:   https://anonhg.NetBSD.org/src/rev/fd91a11717de
branches:  trunk
changeset: 458626:fd91a11717de
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Aug 03 19:56:42 2019 +0000

description:
make function prototype consistent

diffstat:

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

diffs (36 lines):

diff -r 4b54485efaa3 -r fd91a11717de sys/arch/arm/sunxi/sun4i_spi.c
--- a/sys/arch/arm/sunxi/sun4i_spi.c    Sat Aug 03 15:58:14 2019 +0000
+++ b/sys/arch/arm/sunxi/sun4i_spi.c    Sat Aug 03 19:56:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun4i_spi.c,v 1.1 2019/08/03 13:28:42 tnn Exp $        */
+/*     $NetBSD: sun4i_spi.c,v 1.2 2019/08/03 19:56:42 tnn Exp $        */
 
 /*
  * Copyright (c) 2019 Tobias Nygren
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun4i_spi.c,v 1.1 2019/08/03 13:28:42 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun4i_spi.c,v 1.2 2019/08/03 19:56:42 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -73,7 +73,7 @@
 
 static void sun4ispi_txfifo_fill(struct sun4ispi_softc * const, size_t);
 static void sun4ispi_rxfifo_drain(struct sun4ispi_softc * const, size_t);
-static void sun4ispi_rxtx(struct sun4ispi_softc *);
+static void sun4ispi_rxtx(struct sun4ispi_softc * const);
 static void sun4ispi_set_interrupt_mask(struct sun4ispi_softc * const);
 static void sun4ispi_start(struct sun4ispi_softc * const);
 static int sun4ispi_intr(void *);
@@ -139,7 +139,7 @@
 
        sc->sc_intrh = fdtbus_intr_establish(phandle, 0, IPL_VM, 0, sun4ispi_intr, sc);
        if (sc->sc_intrh == NULL) {
-               aprint_error("unable to establish interrupt\n");
+               aprint_error(": unable to establish interrupt\n");
                return;
        }
 



Home | Main Index | Thread Index | Old Index