summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjnemeth <jnemeth@NetBSD.org>2020-08-08 19:39:28 +0000
committerjnemeth <jnemeth@NetBSD.org>2020-08-08 19:39:28 +0000
commit3498317eeea85644ed7eeeb52c2b0517dbb2dc74 (patch)
treefa89301e827482bac92c50b6ca5bbbdf0138e77d /sys/dev
parent422ab319ecf3e75318497edd7bef281cb1e3aec8 (diff)
make this compile without bio(4)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/mpii.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index b763ab83b84..199c71de589 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.24 2019/11/28 17:09:10 maxv Exp $ */
+/* $NetBSD: mpii.c,v 1.25 2020/08/08 19:39:28 jnemeth Exp $ */
/* $OpenBSD: mpii.c,v 1.115 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
@@ -20,7 +20,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.24 2019/11/28 17:09:10 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.25 2020/08/08 19:39:28 jnemeth Exp $");
#include "bio.h"
@@ -244,8 +244,10 @@ struct mpii_softc {
struct workqueue *sc_evt_ack_wq;
struct work sc_evt_ack_work;
+#if NBIO > 0
struct sysmon_envsys *sc_sme;
envsys_data_t *sc_sensors;
+#endif
};
static int mpii_match(device_t, cfdata_t, void *);