Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/dev/i2c apply patch, requested by simonb in ticket #970:



details:   https://anonhg.NetBSD.org/src/rev/7e5e52f42cb8
branches:  netbsd-6
changeset: 776482:7e5e52f42cb8
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 20 13:36:43 2013 +0000

description:
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).

diffstat:

 sys/dev/i2c/w83795g.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8a257dfb0bd0 -r 7e5e52f42cb8 sys/dev/i2c/w83795g.c
--- a/sys/dev/i2c/w83795g.c     Sun Oct 20 13:32:45 2013 +0000
+++ b/sys/dev/i2c/w83795g.c     Sun Oct 20 13:36:43 2013 +0000
@@ -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 @@
                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]);
        }



Home | Main Index | Thread Index | Old Index