summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2016-07-11 14:44:49 +0000
committermsaitoh <msaitoh@NetBSD.org>2016-07-11 14:44:49 +0000
commitb3f26dc3039e755a00bc9306e09f0645aa0e4ff1 (patch)
tree47afc318799b40822fc8f9ca451bc4c8edc9eadd /sys/dev
parent1408398e7fa2494b85269fe5480dec4e9c1bf9ce (diff)
Fix compile error.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/dbcool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/dbcool.c b/sys/dev/i2c/dbcool.c
index 130f5520cc3..d2ed5e85e71 100644
--- a/sys/dev/i2c/dbcool.c
+++ b/sys/dev/i2c/dbcool.c
@@ -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.45 2016/07/11 11:31:50 msaitoh Exp $");
/* 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 */