Module Name:    src
Committed By:   thorpej
Date:           Sat Jan 30 17:37:25 UTC 2021

Modified Files:
        src/sys/dev/i2c: dstemp.c

Log Message:
Add the standard compat string from the Device Tree bindings.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/dstemp.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/dstemp.c
diff -u src/sys/dev/i2c/dstemp.c:1.10 src/sys/dev/i2c/dstemp.c:1.11
--- src/sys/dev/i2c/dstemp.c:1.10	Sat Jan 30 01:22:06 2021
+++ src/sys/dev/i2c/dstemp.c	Sat Jan 30 17:37:25 2021
@@ -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 @@ CFATTACH_DECL_NEW(dstemp, sizeof(struct 
     dstemp_match, dstemp_attach, NULL, NULL);
 
 static const struct device_compatible_entry compat_data[] = {
+	{ .compat = "dallas,ds1631" },
 	{ .compat = "ds1631" },
 	DEVICE_COMPAT_EOL
 };

Reply via email to