Module Name: src Committed By: msaitoh Date: Mon Jul 11 14:44:49 UTC 2016
Modified Files: src/sys/dev/i2c: dbcool.c Log Message: Fix compile error. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/i2c/dbcool.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/dbcool.c diff -u src/sys/dev/i2c/dbcool.c:1.45 src/sys/dev/i2c/dbcool.c:1.46 --- src/sys/dev/i2c/dbcool.c:1.45 Mon Jul 11 11:31:50 2016 +++ src/sys/dev/i2c/dbcool.c Mon Jul 11 14:44:49 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: dbcool.c,v 1.45 2016/07/11 11:31:50 msaitoh Exp $ */ +/* $NetBSD: dbcool.c,v 1.46 2016/07/11 14:44:49 msaitoh Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -50,7 +50,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.45 2016/07/11 11:31:50 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.46 2016/07/11 14:44:49 msaitoh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -65,7 +65,7 @@ __KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1 /* Config interface */ static int dbcool_match(device_t, cfdata_t, void *); -static int dbcool_attach(device_t, device_t, void *); +static void dbcool_attach(device_t, device_t, void *); static int dbcool_detach(device_t, int); /* Device attributes */