Module Name: src
Committed By: bouyer
Date: Sun Oct 20 13:36:43 UTC 2013
Modified Files:
src/sys/dev/i2c [netbsd-6]: w83795g.c
Log Message:
apply patch, requested by simonb in ticket #970:
sys/dev/i2c/w83795g.c patch
Make this driver compile on the netbsd-6 branch (fix ticket #929).
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/i2c/w83795g.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/w83795g.c
diff -u src/sys/dev/i2c/w83795g.c:1.1.2.2 src/sys/dev/i2c/w83795g.c:1.1.2.3
--- src/sys/dev/i2c/w83795g.c:1.1.2.2 Sat Aug 10 22:50:56 2013
+++ src/sys/dev/i2c/w83795g.c Sun Oct 20 13:36:43 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: w83795g.c,v 1.1.2.2 2013/08/10 22:50:56 riz Exp $ */
+/* $NetBSD: w83795g.c,v 1.1.2.3 2013/10/20 13:36:43 bouyer Exp $ */
/*
* Copyright (c) 2013 Soren S. Jorvang. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: w83795g.c,v 1.1.2.2 2013/08/10 22:50:56 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: w83795g.c,v 1.1.2.3 2013/10/20 13:36:43 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -231,7 +231,6 @@ w83795g_attach(device_t parent, device_t
sc->sc_sensors[i].units = sensors[i].type;
sc->sc_sensors[i].state = ENVSYS_SINVALID;
sc->sc_sensors[i].flags = ENVSYS_FMONLIMITS;
- sc->sc_sensors[i].flags |= ENVSYS_FHAS_ENTROPY;
sc->sc_sensors[i].private = i;
sysmon_envsys_sensor_attach(sc->sc_sme, &sc->sc_sensors[i]);
}