Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Disable the 'define dbcool {}' line - it's not n...



details:   https://anonhg.NetBSD.org/src/rev/1cf44f7cd13d
branches:  trunk
changeset: 829800:1cf44f7cd13d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Feb 13 07:21:19 2018 +0000

description:
Disable the 'define dbcool {}' line - it's not needed, and causes
problems with config(1) and gcc6.  See PR toolchain/530223 for more
info.

diffstat:

 sys/dev/i2c/files.i2c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f8be4c474351 -r 1cf44f7cd13d sys/dev/i2c/files.i2c
--- a/sys/dev/i2c/files.i2c     Tue Feb 13 06:44:13 2018 +0000
+++ b/sys/dev/i2c/files.i2c     Tue Feb 13 07:21:19 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i2c,v 1.82 2018/02/01 21:44:17 macallan Exp $
+#      $NetBSD: files.i2c,v 1.83 2018/02/13 07:21:19 pgoyette Exp $
 
 obsolete defflag       opt_i2cbus.h            I2C_SCAN
 define i2cbus { }
@@ -130,7 +130,7 @@
 file   dev/i2c/x1226.c                         xrtc
 
 # Analog Devices dBCool family of thermal monitors / fan controllers
-define dbcool {}
+#define dbcool {}
 device dbcool: sysmon_envsys
 attach dbcool at iic
 file dev/i2c/dbcool.c                  dbcool



Home | Main Index | Thread Index | Old Index