Module Name: src Committed By: christos Date: Fri Dec 29 02:19:45 UTC 2017
Modified Files: src/sys/dev/i2c: si70xx.c Log Message: Fix modules build. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/si70xx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/i2c/si70xx.c diff -u src/sys/dev/i2c/si70xx.c:1.1 src/sys/dev/i2c/si70xx.c:1.2 --- src/sys/dev/i2c/si70xx.c:1.1 Thu Dec 28 18:23:47 2017 +++ src/sys/dev/i2c/si70xx.c Thu Dec 28 21:19:45 2017 @@ -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 <b...@anduin.eldar.org> @@ -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 @@ si70xxtemp_modcmd(modcmd_t cmd, void *op #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;