Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Use DEVICE_COMPAT_EOL.



details:   https://anonhg.NetBSD.org/src/rev/abcf22f89c96
branches:  trunk
changeset: 980201:abcf22f89c96
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jan 27 01:58:15 2021 +0000

description:
Use DEVICE_COMPAT_EOL.

diffstat:

 sys/arch/arm/nvidia/tegra_ahcisata.c    |   6 +++---
 sys/arch/arm/nvidia/tegra_pcie.c        |   6 +++---
 sys/arch/arm/nvidia/tegra_soctherm.c    |   6 +++---
 sys/arch/arm/nvidia/tegra_xusb.c        |   6 +++---
 sys/arch/arm/nxp/if_enet_imx.c          |   6 +++---
 sys/arch/arm/nxp/imx6_pcie.c            |   6 +++---
 sys/arch/arm/nxp/imx6_spi.c             |   6 +++---
 sys/arch/arm/nxp/imx8mq_usbphy.c        |   6 +++---
 sys/arch/arm/nxp/imx_sdhc.c             |   6 +++---
 sys/arch/arm/rockchip/rk3399_iomux.c    |   6 +++---
 sys/arch/arm/rockchip/rk_pwm.c          |   6 +++---
 sys/arch/arm/rockchip/rk_tsadc.c        |   6 +++---
 sys/arch/arm/rockchip/rk_usb.c          |   6 +++---
 sys/arch/arm/rockchip/rk_v1crypto.c     |   6 +++---
 sys/arch/arm/rockchip/rk_vop.c          |   6 +++---
 sys/arch/arm/samsung/exynos_dwcmmc.c    |   6 +++---
 sys/arch/arm/samsung/exynos_pinctrl.c   |   6 +++---
 sys/arch/arm/samsung/exynos_platform.c  |   6 +++---
 sys/arch/arm/samsung/exynos_usbdrdphy.c |   6 +++---
 sys/arch/arm/samsung/exynos_usbphy.c    |   6 +++---
 sys/arch/arm/sociox/if_ave.c            |   6 +++---
 sys/arch/arm/sunxi/sun4i_a10_ccu.c      |   6 +++---
 sys/arch/arm/sunxi/sun4i_dma.c          |   6 +++---
 sys/arch/arm/sunxi/sun6i_dma.c          |   6 +++---
 sys/arch/arm/sunxi/sun8i_crypto.c       |   6 +++---
 sys/arch/arm/sunxi/sunxi_can.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_codec.c        |   6 +++---
 sys/arch/arm/sunxi/sunxi_de2_ccu.c      |   6 +++---
 sys/arch/arm/sunxi/sunxi_dep.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_emac.c         |  15 +++++++--------
 sys/arch/arm/sunxi/sunxi_gpio.c         |   6 +++---
 sys/arch/arm/sunxi/sunxi_hdmi.c         |   6 +++---
 sys/arch/arm/sunxi/sunxi_hdmiphy.c      |   6 +++---
 sys/arch/arm/sunxi/sunxi_i2s.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_lcdc.c         |   6 +++---
 sys/arch/arm/sunxi/sunxi_lradc.c        |   6 +++---
 sys/arch/arm/sunxi/sunxi_mixer.c        |   6 +++---
 sys/arch/arm/sunxi/sunxi_mmc.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_musb.c         |   6 +++---
 sys/arch/arm/sunxi/sunxi_nmi.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_pwm.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_rsb.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_rtc.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_sid.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_sramc.c        |  10 +++++-----
 sys/arch/arm/sunxi/sunxi_tcon.c         |   6 +++---
 sys/arch/arm/sunxi/sunxi_thermal.c      |   6 +++---
 sys/arch/arm/sunxi/sunxi_ts.c           |   6 +++---
 sys/arch/arm/sunxi/sunxi_twi.c          |   6 +++---
 sys/arch/arm/sunxi/sunxi_usb3phy.c      |   6 +++---
 sys/arch/arm/sunxi/sunxi_usbphy.c       |   6 +++---
 sys/arch/arm/sunxi/sunxi_wdt.c          |   6 +++---
 sys/arch/arm/ti/ti_gpio.c               |   6 +++---
 sys/arch/arm/ti/ti_iic.c                |   6 +++---
 sys/arch/arm/ti/ti_omapintc.c           |   6 +++---
 sys/arch/arm/ti/ti_omaptimer.c          |   6 +++---
 sys/arch/arm/ti/ti_sdhc.c               |   6 +++---
 sys/arch/macppc/dev/deq.c               |   6 +++---
 sys/arch/macppc/dev/lmu.c               |   6 +++---
 sys/arch/macppc/dev/psoc.c              |   6 +++---
 sys/arch/macppc/dev/smusat.c            |   2 +-
 sys/arch/mips/cavium/dev/octeon_cib.c   |   6 +++---
 sys/arch/mips/cavium/dev/octeon_intc.c  |   6 +++---
 sys/arch/sparc64/dev/pcf8591_envctrl.c  |   6 +++---
 sys/dev/fdt/amdccp_fdt.c                |   6 +++---
 sys/dev/fdt/connector_fdt.c             |   6 +++---
 sys/dev/fdt/dwc2_fdt.c                  |   6 +++---
 sys/dev/fdt/dwcmmc_fdt.c                |   6 +++---
 sys/dev/fdt/fdtbus.c                    |   6 +++---
 sys/dev/fdt/i2cmux_fdt.c                |   6 +++---
 sys/dev/fdt/ns8250_uart.c               |   6 +++---
 sys/dev/fdt/panel_fdt.c                 |   6 +++---
 sys/dev/fdt/pinctrl_single.c            |   6 +++---
 sys/dev/fdt/vmt_fdt.c                   |   6 +++---
 74 files changed, 226 insertions(+), 227 deletions(-)

diffs (truncated from 2019 to 300 lines):

diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nvidia/tegra_ahcisata.c
--- a/sys/arch/arm/nvidia/tegra_ahcisata.c      Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nvidia/tegra_ahcisata.c      Wed Jan 27 01:58:15 2021 +0000
@@ -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@localhost>
@@ -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,
 };
 
 
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nvidia/tegra_pcie.c
--- a/sys/arch/arm/nvidia/tegra_pcie.c  Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nvidia/tegra_pcie.c  Wed Jan 27 01:58:15 2021 +0000
@@ -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@localhost>
@@ -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
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nvidia/tegra_soctherm.c
--- a/sys/arch/arm/nvidia/tegra_soctherm.c      Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nvidia/tegra_soctherm.c      Wed Jan 27 01:58:15 2021 +0000
@@ -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@localhost>
@@ -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
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nvidia/tegra_xusb.c
--- a/sys/arch/arm/nvidia/tegra_xusb.c  Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nvidia/tegra_xusb.c  Wed Jan 27 01:58:15 2021 +0000
@@ -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 {
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nxp/if_enet_imx.c
--- a/sys/arch/arm/nxp/if_enet_imx.c    Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nxp/if_enet_imx.c    Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enet_imx.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $  */
+/*     $NetBSD: if_enet_imx.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $  */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $");
 
 #include "opt_fdt.h"
 
@@ -53,7 +53,7 @@
        /* compatible                   imxtype */
        { .compat = "fsl,imx6q-fec",    .value = 6 },
        { .compat = "fsl,imx6sx-fec",   .value = 7 },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int enet_init_clocks(struct enet_softc *);
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nxp/imx6_pcie.c
--- a/sys/arch/arm/nxp/imx6_pcie.c      Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nxp/imx6_pcie.c      Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_pcie.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $    */
+/*     $NetBSD: imx6_pcie.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $    */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_pcie.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_pcie.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $");
 
 #include "opt_pci.h"
 #include "opt_fdt.h"
@@ -92,7 +92,7 @@
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-pcie",   .value = false },
        { .compat = "fsl,imx6qp-pcie",  .value = true },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nxp/imx6_spi.c
--- a/sys/arch/arm/nxp/imx6_spi.c       Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nxp/imx6_spi.c       Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_spi.c,v 1.5 2021/01/25 14:20:38 thorpej Exp $     */
+/*     $NetBSD: imx6_spi.c,v 1.6 2021/01/27 02:14:49 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.5 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.6 2021/01/27 02:14:49 thorpej Exp $");
 
 #include "opt_imxspi.h"
 
@@ -62,7 +62,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-ecspi",  .data = &imx6q_spi_config },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 CFATTACH_DECL_NEW(imxspi_fdt, sizeof(struct imxspi_fdt_softc),
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nxp/imx8mq_usbphy.c
--- a/sys/arch/arm/nxp/imx8mq_usbphy.c  Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nxp/imx8mq_usbphy.c  Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx8mq_usbphy.c,v 1.3 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: imx8mq_usbphy.c,v 1.4 2021/01/27 02:14:49 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2020 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: imx8mq_usbphy.c,v 1.3 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx8mq_usbphy.c,v 1.4 2021/01/27 02:14:49 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -57,7 +57,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx8mq-usb-phy" },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct imx8mq_usbphy_softc {
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/nxp/imx_sdhc.c
--- a/sys/arch/arm/nxp/imx_sdhc.c       Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/nxp/imx_sdhc.c       Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx_sdhc.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $     */
+/*     $NetBSD: imx_sdhc.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx_sdhc.c,v 1.4 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx_sdhc.c,v 1.5 2021/01/27 02:14:49 thorpej Exp $");
 
 #include "opt_fdt.h"
 
@@ -87,7 +87,7 @@
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "fsl,imx6q-usdhc",  .data = &imx6q_config },
        { .compat = "fsl,imx7d-usdhc",  .data = &imx7d_config },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 static int
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/rockchip/rk3399_iomux.c
--- a/sys/arch/arm/rockchip/rk3399_iomux.c      Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/rockchip/rk3399_iomux.c      Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk3399_iomux.c,v 1.8 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: rk3399_iomux.c,v 1.9 2021/01/27 02:00:02 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 //#define RK3399_IOMUX_DEBUG
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk3399_iomux.c,v 1.8 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk3399_iomux.c,v 1.9 2021/01/27 02:00:02 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -183,7 +183,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "rockchip,rk3399-pinctrl",  .data = &rk3399_iomux_conf },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct rk3399_iomux_softc {
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/rockchip/rk_pwm.c
--- a/sys/arch/arm/rockchip/rk_pwm.c    Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_pwm.c    Wed Jan 27 01:58:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_pwm.c,v 1.5 2021/01/25 14:20:38 thorpej Exp $ */
+/* $NetBSD: rk_pwm.c,v 1.6 2021/01/27 02:00:02 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: rk_pwm.c,v 1.5 2021/01/25 14:20:38 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rk_pwm.c,v 1.6 2021/01/27 02:00:02 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -65,7 +65,7 @@
 
 static const struct device_compatible_entry compat_data[] = {
        { .compat = "rockchip,rk3288-pwm",      .value = PWM_RK3288 },
-       { }
+       DEVICE_COMPAT_EOL
 };
 
 struct rk_pwm_softc {
diff -r c607c1100ff1 -r abcf22f89c96 sys/arch/arm/rockchip/rk_tsadc.c
--- a/sys/arch/arm/rockchip/rk_tsadc.c  Wed Jan 27 01:47:40 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_tsadc.c  Wed Jan 27 01:58:15 2021 +0000



Home | Main Index | Thread Index | Old Index