Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Fix modules build.



details:   https://anonhg.NetBSD.org/src/rev/7eb3a6a2bfb2
branches:  trunk
changeset: 828734:7eb3a6a2bfb2
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 29 02:19:45 2017 +0000

description:
Fix modules build.

diffstat:

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

diffs (27 lines):

diff -r 3157f6810c16 -r 7eb3a6a2bfb2 sys/dev/i2c/si70xx.c
--- a/sys/dev/i2c/si70xx.c      Fri Dec 29 02:18:34 2017 +0000
+++ b/sys/dev/i2c/si70xx.c      Fri Dec 29 02:19:45 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: si70xx.c,v 1.1 2017/12/28 23:23:47 christos Exp $      */
+/*     $NetBSD: si70xx.c,v 1.2 2017/12/29 02:19:45 christos Exp $      */
 
 /*
  * Copyright (c) 2017 Brad Spencer <brad%anduin.eldar.org@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.1 2017/12/28 23:23:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.2 2017/12/29 02:19:45 christos Exp $");
 
 /*
   Driver for the Silicon Labs SI7013/SI7020/SI7021
@@ -999,7 +999,7 @@
 #endif
        case MODULE_CMD_FINI:
 #ifdef _MODULE
-               error = config_fini_component(cfdriver_ioconf_si70xxtemp,
+               return config_fini_component(cfdriver_ioconf_si70xxtemp,
                      cfattach_ioconf_si70xxtemp, cfdata_ioconf_si70xxtemp);
 #else
                return 0;



Home | Main Index | Thread Index | Old Index