Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Update the compat strings to match what Linux us...



details:   https://anonhg.NetBSD.org/src/rev/3acf9e1a2929
branches:  trunk
changeset: 319349:3acf9e1a2929
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 27 14:03:56 2018 +0000

description:
Update the compat strings to match what Linux uses, per jmcneill@.

diffstat:

 sys/dev/i2c/tsl256x.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r fdf25dd6248a -r 3acf9e1a2929 sys/dev/i2c/tsl256x.c
--- a/sys/dev/i2c/tsl256x.c     Sun May 27 12:24:36 2018 +0000
+++ b/sys/dev/i2c/tsl256x.c     Sun May 27 14:03:56 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tsl256x.c,v 1.1 2018/05/27 05:31:20 thorpej Exp $ */
+/* $NetBSD: tsl256x.c,v 1.2 2018/05/27 14:03:56 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2018 Jason R. Thorpe
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsl256x.c,v 1.1 2018/05/27 05:31:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsl256x.c,v 1.2 2018/05/27 14:03:56 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -79,9 +79,8 @@
     tsllux_match, tsllux_attach, NULL, NULL);
 
 static const char *tsllux_compats[] = {
-       "taos,tsl2560",
-       "taos,tsl2561",
-       "taos,tsl256x",
+       "amstaos,tsl2560",
+       "amstaos,tsl2561",
        NULL
 };
 



Home | Main Index | Thread Index | Old Index