Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Build fix



details:   https://anonhg.NetBSD.org/src/rev/afbd41843edc
branches:  trunk
changeset: 322560:afbd41843edc
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon May 07 12:58:58 2018 +0000

description:
Build fix

diffstat:

 sys/dev/fdt/pwm_backlight.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3113c46c87ae -r afbd41843edc sys/dev/fdt/pwm_backlight.c
--- a/sys/dev/fdt/pwm_backlight.c       Mon May 07 10:53:45 2018 +0000
+++ b/sys/dev/fdt/pwm_backlight.c       Mon May 07 12:58:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pwm_backlight.c,v 1.2 2018/05/06 10:45:32 jmcneill Exp $ */
+/* $NetBSD: pwm_backlight.c,v 1.3 2018/05/07 12:58:58 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pwm_backlight.c,v 1.2 2018/05/06 10:45:32 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pwm_backlight.c,v 1.3 2018/05/07 12:58:58 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -223,7 +223,7 @@
 
        error = sysctl_createv(&log, 0, &pwmnode, NULL,
            0, CTLTYPE_STRING, "levels", NULL,
-           NULL, 0, sc->sc_levelstr, NULL,
+           NULL, 0, sc->sc_levelstr, 0,
            CTL_CREATE, CTL_EOL);
        if (error)
                goto failed;



Home | Main Index | Thread Index | Old Index