Wed Jan 27 01:58:15 2021 UTC ()
Use DEVICE_COMPAT_EOL.


(thorpej)
diff -r1.16 -r1.17 src/sys/arch/arm/nvidia/tegra_ahcisata.c
diff -r1.34 -r1.35 src/sys/arch/arm/nvidia/tegra_pcie.c
diff -r1.11 -r1.12 src/sys/arch/arm/nvidia/tegra_soctherm.c
diff -r1.24 -r1.25 src/sys/arch/arm/nvidia/tegra_xusb.c

cvs diff -r1.16 -r1.17 src/sys/arch/arm/nvidia/tegra_ahcisata.c (expand / switch to context diff)
--- src/sys/arch/arm/nvidia/tegra_ahcisata.c 2021/01/25 14:20:38 1.16
+++ src/sys/arch/arm/nvidia/tegra_ahcisata.c 2021/01/27 01:58:15 1.17
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_ahcisata.c,v 1.16 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: tegra_ahcisata.c,v 1.17 2021/01/27 01:58:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_ahcisata.c,v 1.16 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_ahcisata.c,v 1.17 2021/01/27 01:58:15 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -105,7 +105,7 @@
 static const struct device_compatible_entry compat_data[] = {
 	{ .compat = "nvidia,tegra124-ahci", .data = &tegra124_ahcisata_data },
 	{ .compat = "nvidia,tegra210-ahci", .data = &tegra210_ahcisata_data },
-	{ },
+	DEVICE_COMPAT_EOL,
 };
 
 

cvs diff -r1.34 -r1.35 src/sys/arch/arm/nvidia/tegra_pcie.c (expand / switch to context diff)
--- src/sys/arch/arm/nvidia/tegra_pcie.c 2021/01/25 14:20:38 1.34
+++ src/sys/arch/arm/nvidia/tegra_pcie.c 2021/01/27 01:58:15 1.35
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pcie.c,v 1.34 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: tegra_pcie.c,v 1.35 2021/01/27 01:58:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.34 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.35 2021/01/27 01:58:15 thorpej Exp $");
 
 #include <sys/param.h>
 
@@ -139,7 +139,7 @@
 static const struct device_compatible_entry compat_data[] = {
 	{ .compat = "nvidia,tegra210-pcie",	.value = TEGRA_PCIE_210 },
 	{ .compat = "nvidia,tegra124-pcie",	.value = TEGRA_PCIE_124 },
-	{ }
+	DEVICE_COMPAT_EOL
 };
 
 static int

cvs diff -r1.11 -r1.12 src/sys/arch/arm/nvidia/tegra_soctherm.c (expand / switch to context diff)
--- src/sys/arch/arm/nvidia/tegra_soctherm.c 2021/01/25 14:20:38 1.11
+++ src/sys/arch/arm/nvidia/tegra_soctherm.c 2021/01/27 01:58:15 1.12
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_soctherm.c,v 1.11 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: tegra_soctherm.c,v 1.12 2021/01/27 01:58:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_soctherm.c,v 1.11 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_soctherm.c,v 1.12 2021/01/27 01:58:15 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -163,7 +163,7 @@
 	{ .compat = "nvidia,tegra124-soctherm",
 	  .data = &tegra124_soctherm_config },
 
-	{ }
+	DEVICE_COMPAT_EOL
 };
 
 static int

cvs diff -r1.24 -r1.25 src/sys/arch/arm/nvidia/tegra_xusb.c (expand / switch to context diff)
--- src/sys/arch/arm/nvidia/tegra_xusb.c 2021/01/25 14:20:38 1.24
+++ src/sys/arch/arm/nvidia/tegra_xusb.c 2021/01/27 01:58:15 1.25
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_xusb.c,v 1.24 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: tegra_xusb.c,v 1.25 2021/01/27 01:58:15 thorpej Exp $ */
 
 /*
  * Copyright (c) 2016 Jonathan A. Kollasch
@@ -30,7 +30,7 @@
 #include "opt_tegra.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.24 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_xusb.c,v 1.25 2021/01/27 01:58:15 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -148,7 +148,7 @@
 static const struct device_compatible_entry compat_data[] = {
 	{ .compat = "nvidia,tegra124-xusb", .data = &tegra124_xhci_data },
 	{ .compat = "nvidia,tegra210-xusb", .data = &tegra210_xhci_data },
-	{ }
+	DEVICE_COMPAT_EOL
 };
 
 struct fw_dma {