Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Use DEVICE_COMPAT_EOL.



details:   https://anonhg.NetBSD.org/src/rev/c607c1100ff1
branches:  trunk
changeset: 980200:c607c1100ff1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jan 27 01:47:40 2021 +0000

description:
Use DEVICE_COMPAT_EOL.

diffstat:

 sys/arch/arm/altera/cycv_clkmgr.c     |   8 ++++----
 sys/arch/arm/amlogic/meson_pinctrl.c  |   6 +++---
 sys/arch/arm/amlogic/meson_pwm.c      |   6 +++---
 sys/arch/arm/amlogic/meson_thermal.c  |   6 +++---
 sys/arch/arm/amlogic/meson_usbctrl.c  |   6 +++---
 sys/arch/arm/amlogic/meson_usbphy.c   |   6 +++---
 sys/arch/arm/amlogic/mesong12_clkc.c  |   6 +++---
 sys/arch/arm/amlogic/mesongx_mmc.c    |   6 +++---
 sys/arch/arm/amlogic/mesongxbb_clkc.c |   6 +++---
 sys/arch/arm/fdt/gicv3_fdt.c          |  10 +++++-----
 sys/arch/arm/fdt/pcihost_fdt.c        |   6 +++---
 11 files changed, 36 insertions(+), 36 deletions(-)

diffs (truncated from 321 to 300 lines):

diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/altera/cycv_clkmgr.c
--- a/sys/arch/arm/altera/cycv_clkmgr.c Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/altera/cycv_clkmgr.c Wed Jan 27 01:47:40 2021 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: cycv_clkmgr.c,v 1.6 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: cycv_clkmgr.c,v 1.7 2021/01/27 01:47:40 thorpej Exp $ */
 
 /* This file is in the public domain. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.6 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.7 2021/01/27 01:47:40 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -113,7 +113,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "altr,clk-mgr" },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int
@@ -218,7 +218,7 @@
        { .compat = "altr,socfpga-pll-clock",   .value = CYCV_CLK_TYPE_PLL },
        { .compat = "altr,socfpga-perip-clk",   .value = CYCV_CLK_TYPE_PERIP },
        { .compat = "altr,socfpga-gate-clk",    .value = CYCV_CLK_TYPE_PERIP },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static void
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/meson_pinctrl.c
--- a/sys/arch/arm/amlogic/meson_pinctrl.c      Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_pinctrl.c      Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_pinctrl.c,v 1.9 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: meson_pinctrl.c,v 1.10 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_soc.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: meson_pinctrl.c,v 1.9 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_pinctrl.c,v 1.10 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -96,7 +96,7 @@
        { .compat = "amlogic,meson-g12a-periphs-pinctrl",
          .data = &mesong12a_periphs_pinctrl_config },
 #endif
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 #define        MUX_READ(sc, reg)                               \
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/meson_pwm.c
--- a/sys/arch/arm/amlogic/meson_pwm.c  Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_pwm.c  Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_pwm.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: meson_pwm.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*
  * Copyright (c) 2021 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: meson_pwm.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_pwm.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -69,7 +69,7 @@
        { .compat = "amlogic,meson-g12a-ao-pwm-ab" },
        { .compat = "amlogic,meson-g12a-ao-pwm-cd" },
        { .compat = "amlogic,meson-g12a-ee-pwm" },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 #define MESON_PWM_NCHAN        2
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/meson_thermal.c
--- a/sys/arch/arm/amlogic/meson_thermal.c      Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_thermal.c      Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_thermal.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: meson_thermal.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*
  * Copyright (c) 2021 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: meson_thermal.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_thermal.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -90,7 +90,7 @@
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "amlogic,g12a-cpu-thermal", .data = &thermal_cpu_conf },
        { .compat = "amlogic,g12a-ddr-thermal", .data = &thermal_ddr_conf },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct meson_thermal_softc {
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/meson_usbctrl.c
--- a/sys/arch/arm/amlogic/meson_usbctrl.c      Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_usbctrl.c      Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_usbctrl.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: meson_usbctrl.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*
  * Copyright (c) 2021 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: meson_usbctrl.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_usbctrl.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -112,7 +112,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "amlogic,meson-g12a-usb-ctrl", .data = &mesong12_conf },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct meson_usbctrl_softc {
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/meson_usbphy.c
--- a/sys/arch/arm/amlogic/meson_usbphy.c       Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/meson_usbphy.c       Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson_usbphy.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: meson_usbphy.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: meson_usbphy.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: meson_usbphy.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -65,7 +65,7 @@
        { .compat = "amlogic,meson-gxbb-usb2-phy",
          .value = USBPHY_MESON8B },
 
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct meson_usbphy_softc {
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/mesong12_clkc.c
--- a/sys/arch/arm/amlogic/mesong12_clkc.c      Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/mesong12_clkc.c      Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mesong12_clkc.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: mesong12_clkc.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mesong12_clkc.c,v 1.3 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mesong12_clkc.c,v 1.4 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1492,7 +1492,7 @@
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "amlogic,g12a-clkc",        .data = &g12a_config },
        { .compat = "amlogic,g12b-clkc",        .data = &g12b_config },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 CFATTACH_DECL_NEW(mesong12_clkc, sizeof(struct meson_clk_softc),
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/mesongx_mmc.c
--- a/sys/arch/arm/amlogic/mesongx_mmc.c        Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/mesongx_mmc.c        Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mesongx_mmc.c,v 1.11 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: mesongx_mmc.c,v 1.12 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mesongx_mmc.c,v 1.11 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mesongx_mmc.c,v 1.12 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -271,7 +271,7 @@
        { .compat = "amlogic,meson-gx-mmc",     .value = MESONGX_MMC_V2 },
        { .compat = "amlogic,meson-gxbb-mmc",   .value = MESONGX_MMC_V2 },
        { .compat = "amlogic,meson-axg-mmc",    .value = MESONGX_MMC_V3 },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/amlogic/mesongxbb_clkc.c
--- a/sys/arch/arm/amlogic/mesongxbb_clkc.c     Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/amlogic/mesongxbb_clkc.c     Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mesongxbb_clkc.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $ */
+/* $NetBSD: mesongxbb_clkc.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: mesongxbb_clkc.c,v 1.4 2021/01/25 14:20:37 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: mesongxbb_clkc.c,v 1.5 2021/01/27 01:49:36 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -81,7 +81,7 @@
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "amlogic,gxbb-clkc",        .data = &gxbb_config },
        { .compat = "amlogic,gxl-clkc",         .data = &gxl_config },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 CFATTACH_DECL_NEW(mesongxbb_clkc, sizeof(struct meson_clk_softc),
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/fdt/gicv3_fdt.c
--- a/sys/arch/arm/fdt/gicv3_fdt.c      Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/fdt/gicv3_fdt.c      Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gicv3_fdt.c,v 1.13 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: gicv3_fdt.c,v 1.14 2021/01/27 01:54:06 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gicv3_fdt.c,v 1.13 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gicv3_fdt.c,v 1.14 2021/01/27 01:54:06 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -109,7 +109,7 @@
 
 static const struct device_compatible_entry gicv3_fdt_quirks[] = {
        { .compat = "rockchip,rk3399",          .value = GICV3_QUIRK_RK3399 },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 CFATTACH_DECL_NEW(gicv3_fdt, sizeof(struct gicv3_fdt_softc),
@@ -117,7 +117,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "arm,gic-v3" },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int
@@ -181,7 +181,7 @@
                /* Interrupt Translation Services */
                static const struct device_compatible_entry its_compat[] = {
                        { .compat = "arm,gic-v3-its" },
-                       { }
+                       DEVICE_COMPAT_EOL
                };
 
                for (int child = OF_child(phandle); child;
diff -r 4b2e662d6238 -r c607c1100ff1 sys/arch/arm/fdt/pcihost_fdt.c
--- a/sys/arch/arm/fdt/pcihost_fdt.c    Wed Jan 27 01:00:05 2021 +0000
+++ b/sys/arch/arm/fdt/pcihost_fdt.c    Wed Jan 27 01:47:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcihost_fdt.c,v 1.21 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: pcihost_fdt.c,v 1.22 2021/01/27 01:54:06 thorpej Exp $ */



Home | Main Index | Thread Index | Old Index