Module Name: src Committed By: thorpej Date: Wed Jan 27 02:24:10 UTC 2021
Modified Files: src/sys/dev/fdt: amdccp_fdt.c connector_fdt.c dwc2_fdt.c dwcmmc_fdt.c fdtbus.c i2cmux_fdt.c ns8250_uart.c panel_fdt.c pinctrl_single.c vmt_fdt.c Log Message: Use DEVICE_COMPAT_EOL. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/amdccp_fdt.c \ src/sys/dev/fdt/panel_fdt.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/connector_fdt.c \ src/sys/dev/fdt/pinctrl_single.c src/sys/dev/fdt/vmt_fdt.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/fdt/dwc2_fdt.c \ src/sys/dev/fdt/i2cmux_fdt.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/fdt/dwcmmc_fdt.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/fdt/fdtbus.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/fdt/ns8250_uart.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/fdt/amdccp_fdt.c diff -u src/sys/dev/fdt/amdccp_fdt.c:1.4 src/sys/dev/fdt/amdccp_fdt.c:1.5 --- src/sys/dev/fdt/amdccp_fdt.c:1.4 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/amdccp_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: amdccp_fdt.c,v 1.4 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: amdccp_fdt.c,v 1.5 2021/01/27 02:24:10 thorpej Exp $ */ /* * Copyright (c) 2018 Jonathan A. Kollasch @@ -28,7 +28,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: amdccp_fdt.c,v 1.4 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: amdccp_fdt.c,v 1.5 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -51,7 +51,7 @@ CFATTACH_DECL_NEW(amdccp_fdt, sizeof(str static const struct device_compatible_entry compat_data[] = { { .compat = "amd,ccp-seattle-v1a" }, - { } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/fdt/panel_fdt.c diff -u src/sys/dev/fdt/panel_fdt.c:1.4 src/sys/dev/fdt/panel_fdt.c:1.5 --- src/sys/dev/fdt/panel_fdt.c:1.4 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/panel_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: panel_fdt.c,v 1.4 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: panel_fdt.c,v 1.5 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: panel_fdt.c,v 1.4 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(1, "$NetBSD: panel_fdt.c,v 1.5 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -71,7 +71,7 @@ CFATTACH_DECL_NEW(fdt_panel, sizeof(stru static const struct device_compatible_entry compat_data[] = { { .compat = "panel-lvds", .value = PANEL_LVDS}, { .compat = "panel-dual-lvds", .value = PANEL_DUAL_LVDS}, - { } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/fdt/connector_fdt.c diff -u src/sys/dev/fdt/connector_fdt.c:1.3 src/sys/dev/fdt/connector_fdt.c:1.4 --- src/sys/dev/fdt/connector_fdt.c:1.3 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/connector_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: connector_fdt.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: connector_fdt.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: connector_fdt.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(1, "$NetBSD: connector_fdt.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -74,7 +74,7 @@ static const struct device_compatible_en { .compat = "dvi-connector", .value = CON_DVI}, { .compat = "hdmi-connector", .value = CON_HDMI}, { .compat = "vga-connector", .value = CON_VGA}, - { } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/fdt/pinctrl_single.c diff -u src/sys/dev/fdt/pinctrl_single.c:1.3 src/sys/dev/fdt/pinctrl_single.c:1.4 --- src/sys/dev/fdt/pinctrl_single.c:1.3 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/pinctrl_single.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pinctrl_single.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: pinctrl_single.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2019 Jared McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pinctrl_single.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pinctrl_single.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -53,7 +53,7 @@ static const struct pinctrl_single_confi static const struct device_compatible_entry compat_data[] = { { .compat = "pinctrl-single", .data = &pinctrl_config }, { .compat = "pinconf-single", .data = &pinconf_config }, - { } + DEVICE_COMPAT_EOL }; struct pinctrl_single_softc { Index: src/sys/dev/fdt/vmt_fdt.c diff -u src/sys/dev/fdt/vmt_fdt.c:1.3 src/sys/dev/fdt/vmt_fdt.c:1.4 --- src/sys/dev/fdt/vmt_fdt.c:1.3 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/vmt_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vmt_fdt.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: vmt_fdt.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $ */ /* * Copyright (c) 2020 Ryo Shimizu <r...@nerv.org> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vmt_fdt.c,v 1.3 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vmt_fdt.c,v 1.4 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -45,7 +45,7 @@ CFATTACH_DECL_NEW(vmt_fdt, sizeof(struct static const struct device_compatible_entry compat_data[] = { { .compat = "vmware" }, - { } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/fdt/dwc2_fdt.c diff -u src/sys/dev/fdt/dwc2_fdt.c:1.8 src/sys/dev/fdt/dwc2_fdt.c:1.9 --- src/sys/dev/fdt/dwc2_fdt.c:1.8 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/dwc2_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dwc2_fdt.c,v 1.8 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: dwc2_fdt.c,v 1.9 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwc2_fdt.c,v 1.8 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwc2_fdt.c,v 1.9 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -92,7 +92,7 @@ static const struct device_compatible_en { .compat = "snps,dwc2", .data = &dwc2_fdt_generic_config }, - { } + DEVICE_COMPAT_EOL }; CFATTACH_DECL_NEW(dwc2_fdt, sizeof(struct dwc2_fdt_softc), Index: src/sys/dev/fdt/i2cmux_fdt.c diff -u src/sys/dev/fdt/i2cmux_fdt.c:1.8 src/sys/dev/fdt/i2cmux_fdt.c:1.9 --- src/sys/dev/fdt/i2cmux_fdt.c:1.8 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/i2cmux_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: i2cmux_fdt.c,v 1.8 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: i2cmux_fdt.c,v 1.9 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: i2cmux_fdt.c,v 1.8 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i2cmux_fdt.c,v 1.9 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/types.h> #include <sys/device.h> @@ -243,7 +243,7 @@ static const struct device_compatible_en { .compat = "i2c-mux-pinctrl", .data = &iicmux_pinctrl_config }, - { } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/fdt/dwcmmc_fdt.c diff -u src/sys/dev/fdt/dwcmmc_fdt.c:1.14 src/sys/dev/fdt/dwcmmc_fdt.c:1.15 --- src/sys/dev/fdt/dwcmmc_fdt.c:1.14 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/dwcmmc_fdt.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dwcmmc_fdt.c,v 1.14 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: dwcmmc_fdt.c,v 1.15 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2015-2018 Jared McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.14 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.15 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -68,7 +68,7 @@ static const struct dwcmmc_fdt_config dw static const struct device_compatible_entry compat_data[] = { { .compat = "rockchip,rk3288-dw-mshc", .data = &dwcmmc_rk3288_config }, - { } + DEVICE_COMPAT_EOL }; struct dwcmmc_fdt_softc { Index: src/sys/dev/fdt/fdtbus.c diff -u src/sys/dev/fdt/fdtbus.c:1.36 src/sys/dev/fdt/fdtbus.c:1.37 --- src/sys/dev/fdt/fdtbus.c:1.36 Tue Jan 26 14:55:34 2021 +++ src/sys/dev/fdt/fdtbus.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fdtbus.c,v 1.36 2021/01/26 14:55:34 thorpej Exp $ */ +/* $NetBSD: fdtbus.c,v 1.37 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2015 Jared D. McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.36 2021/01/26 14:55:34 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.37 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -89,7 +89,7 @@ static void fdt_post_attach(struct fdt_n static const struct device_compatible_entry compat_data[] = { { .compat = "simple-bus" }, - { } + DEVICE_COMPAT_EOL }; CFATTACH_DECL2_NEW(simplebus, sizeof(struct fdt_softc), Index: src/sys/dev/fdt/ns8250_uart.c diff -u src/sys/dev/fdt/ns8250_uart.c:1.5 src/sys/dev/fdt/ns8250_uart.c:1.6 --- src/sys/dev/fdt/ns8250_uart.c:1.5 Mon Jan 25 14:25:09 2021 +++ src/sys/dev/fdt/ns8250_uart.c Wed Jan 27 02:24:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ns8250_uart.c,v 1.5 2021/01/25 14:25:09 thorpej Exp $ */ +/* $NetBSD: ns8250_uart.c,v 1.6 2021/01/27 02:24:10 thorpej Exp $ */ /*- * Copyright (c) 2017-2020 Jared McNeill <jmcne...@invisible.ca> @@ -28,7 +28,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: ns8250_uart.c,v 1.5 2021/01/25 14:25:09 thorpej Exp $"); +__KERNEL_RCSID(1, "$NetBSD: ns8250_uart.c,v 1.6 2021/01/27 02:24:10 thorpej Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -84,7 +84,7 @@ static const struct device_compatible_en { .compat = "ns16550a", .data = &ns8250_config }, { .compat = "ns16550", .data = &ns8250_config }, { .compat = "ns16750", .data = &ns16750_config }, - { } + DEVICE_COMPAT_EOL }; CFATTACH_DECL_NEW(ns8250_uart, sizeof(struct com_softc),