Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Add the standard compat string from the Device T...



details:   https://anonhg.NetBSD.org/src/rev/ec53b5c50495
branches:  trunk
changeset: 980271:ec53b5c50495
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jan 30 17:37:25 2021 +0000

description:
Add the standard compat string from the Device Tree bindings.

diffstat:

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

diffs (26 lines):

diff -r b60439397d08 -r ec53b5c50495 sys/dev/i2c/dstemp.c
--- a/sys/dev/i2c/dstemp.c      Sat Jan 30 17:02:58 2021 +0000
+++ b/sys/dev/i2c/dstemp.c      Sat Jan 30 17:37:25 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dstemp.c,v 1.10 2021/01/30 01:22:06 thorpej Exp $ */
+/* $NetBSD: dstemp.c,v 1.11 2021/01/30 17:37:25 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2018 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dstemp.c,v 1.10 2021/01/30 01:22:06 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dstemp.c,v 1.11 2021/01/30 17:37:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -78,6 +78,7 @@
     dstemp_match, dstemp_attach, NULL, NULL);
 
 static const struct device_compatible_entry compat_data[] = {
+       { .compat = "dallas,ds1631" },
        { .compat = "ds1631" },
        DEVICE_COMPAT_EOL
 };



Home | Main Index | Thread Index | Old Index