Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Sort includes.



details:   https://anonhg.NetBSD.org/src/rev/1a2ea3d5b285
branches:  trunk
changeset: 1028423:1a2ea3d5b285
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:01:10 2021 +0000

description:
Sort includes.

diffstat:

 sys/arch/arm/rockchip/rk_drm.c    |  22 +++++++++++-----------
 sys/arch/arm/rockchip/rk_dwhdmi.c |  20 ++++++++++----------
 sys/arch/arm/rockchip/rk_fb.c     |   8 ++++----
 sys/arch/arm/rockchip/rk_vop.c    |  22 +++++++++++-----------
 sys/arch/arm/sunxi/sunxi_drm.c    |  20 ++++++++++----------
 sys/arch/arm/sunxi/sunxi_dwhdmi.c |  14 +++++++-------
 sys/arch/arm/sunxi/sunxi_fb.c     |   8 ++++----
 sys/arch/arm/sunxi/sunxi_lcdc.c   |  18 +++++++++---------
 sys/arch/arm/sunxi/sunxi_mixer.c  |  22 +++++++++++-----------
 sys/dev/fdt/fdt_panel.c           |  10 +++++-----
 sys/dev/fdt/hdmi_connector.c      |  10 +++++-----
 sys/dev/i2c/anxedp.c              |  17 ++++++++---------
 sys/dev/ic/anx_dp.c               |  10 +++++-----
 sys/dev/ic/anx_dp.h               |   4 ++--
 sys/dev/ic/dw_hdmi.c              |  16 ++++++++--------
 sys/dev/ic/dw_hdmi.h              |   4 ++--
 16 files changed, 112 insertions(+), 113 deletions(-)

diffs (truncated from 638 to 300 lines):

diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/rockchip/rk_drm.c
--- a/sys/arch/arm/rockchip/rk_drm.c    Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_drm.c    Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_drm.c,v 1.8 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: rk_drm.c,v 1.9 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,32 +27,32 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.8 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.9 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
 
+#include <uvm/uvm_device.h>
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm_object.h>
-#include <uvm/uvm_device.h>
+
+#include <dev/fdt/fdt_port.h>
+#include <dev/fdt/fdtvar.h>
+
+#include <arm/rockchip/rk_drm.h>
 
 #include <drm/drm_auth.h>
+#include <drm/drm_crtc_helper.h>
 #include <drm/drm_drv.h>
-#include <drm/drm_crtc_helper.h>
 #include <drm/drm_fb_helper.h>
 #include <drm/drm_fourcc.h>
 #include <drm/drm_vblank.h>
 
-#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_port.h>
-
-#include <arm/rockchip/rk_drm.h>
-
 #define        RK_DRM_MAX_WIDTH        3840
 #define        RK_DRM_MAX_HEIGHT       2160
 
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/rockchip/rk_dwhdmi.c
--- a/sys/arch/arm/rockchip/rk_dwhdmi.c Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_dwhdmi.c Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_dwhdmi.c,v 1.6 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: rk_dwhdmi.c,v 1.7 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,25 +27,25 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_dwhdmi.c,v 1.6 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_dwhdmi.c,v 1.7 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
+
+#include <dev/fdt/fdt_port.h>
+#include <dev/fdt/fdtvar.h>
+#include <dev/fdt/syscon.h>
+
+#include <dev/ic/dw_hdmi.h>
 
 #include <drm/drm_drv.h>
 #include <drm/drm_crtc_helper.h>
 
-#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_port.h>
-#include <dev/fdt/syscon.h>
-
-#include <dev/ic/dw_hdmi.h>
-
 #define        RK3399_GRF_SOC_CON20            0x6250
 #define         HDMI_LCDC_SEL                  __BIT(6)
 
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/rockchip/rk_fb.c
--- a/sys/arch/arm/rockchip/rk_fb.c     Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_fb.c     Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_fb.c,v 1.3 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: rk_fb.c,v 1.4 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015-2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_wsdisplay_compat.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_fb.c,v 1.3 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_fb.c,v 1.4 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -37,11 +37,11 @@
 
 #include <dev/fdt/fdtvar.h>
 
+#include <arm/rockchip/rk_drm.h>
+
 #include <drm/drm_drv.h>
 #include <drm/drmfb.h>
 
-#include <arm/rockchip/rk_drm.h>
-
 static int     rk_fb_match(device_t, cfdata_t, void *);
 static void    rk_fb_attach(device_t, device_t, void *);
 
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/rockchip/rk_vop.c
--- a/sys/arch/arm/rockchip/rk_vop.c    Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/rockchip/rk_vop.c    Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_vop.c,v 1.11 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: rk_vop.c,v 1.12 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,28 +27,28 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_vop.c,v 1.11 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_vop.c,v 1.12 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
+#include <sys/sysctl.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
-#include <sys/sysctl.h>
 
-#include <drm/drm_drv.h>
+#include <dev/fdt/fdt_port.h>
+#include <dev/fdt/fdtvar.h>
+
+#include <arm/rockchip/rk_drm.h>
+
 #include <drm/drm_crtc.h>
 #include <drm/drm_crtc_helper.h>
+#include <drm/drm_drv.h>
 #include <drm/drm_fourcc.h>
 #include <drm/drm_plane_helper.h>
 
-#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_port.h>
-
-#include <arm/rockchip/rk_drm.h>
-
 #define        VOP_REG_CFG_DONE                0x0000
 #define         REG_LOAD_EN                    __BIT(0)
 #define        VOP_SYS_CTRL                    0x0008
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/sunxi/sunxi_drm.c
--- a/sys/arch/arm/sunxi/sunxi_drm.c    Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_drm.c    Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_drm.c,v 1.16 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: sunxi_drm.c,v 1.17 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,19 +27,24 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_drm.c,v 1.16 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_drm.c,v 1.17 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
 
+#include <uvm/uvm_device.h>
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm_object.h>
-#include <uvm/uvm_device.h>
+
+#include <dev/fdt/fdt_port.h>
+#include <dev/fdt/fdtvar.h>
+
+#include <arm/sunxi/sunxi_drm.h>
 
 #include <drm/drm_auth.h>
 #include <drm/drm_crtc_helper.h>
@@ -48,11 +53,6 @@
 #include <drm/drm_fourcc.h>
 #include <drm/drm_vblank.h>
 
-#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_port.h>
-
-#include <arm/sunxi/sunxi_drm.h>
-
 #define        SUNXI_DRM_MAX_WIDTH     3840
 #define        SUNXI_DRM_MAX_HEIGHT    2160
 
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/sunxi/sunxi_dwhdmi.c
--- a/sys/arch/arm/sunxi/sunxi_dwhdmi.c Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_dwhdmi.c Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_dwhdmi.c,v 1.10 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: sunxi_dwhdmi.c,v 1.11 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,25 +27,25 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_dwhdmi.c,v 1.10 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_dwhdmi.c,v 1.11 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
 
-#include <drm/drm_drv.h>
-
+#include <dev/fdt/fdt_port.h>
 #include <dev/fdt/fdtvar.h>
-#include <dev/fdt/fdt_port.h>
 
 #include <dev/ic/dw_hdmi.h>
 
 #include <arm/sunxi/sunxi_hdmiphy.h>
 
+#include <drm/drm_drv.h>
+
 enum {
        DWHDMI_PORT_INPUT = 0,
        DWHDMI_PORT_OUTPUT = 1,
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/sunxi/sunxi_fb.c
--- a/sys/arch/arm/sunxi/sunxi_fb.c     Sun Dec 19 11:01:01 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_fb.c     Sun Dec 19 11:01:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_fb.c,v 1.4 2021/12/19 11:00:46 riastradh Exp $ */
+/* $NetBSD: sunxi_fb.c,v 1.5 2021/12/19 11:01:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015-2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_wsdisplay_compat.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_fb.c,v 1.4 2021/12/19 11:00:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_fb.c,v 1.5 2021/12/19 11:01:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -37,11 +37,11 @@
 
 #include <dev/fdt/fdtvar.h>
 
+#include <arm/sunxi/sunxi_drm.h>
+
 #include <drm/drm_drv.h>
 #include <drm/drmfb.h>
 
-#include <arm/sunxi/sunxi_drm.h>
-
 static int     sunxi_fb_match(device_t, cfdata_t, void *);
 static void    sunxi_fb_attach(device_t, device_t, void *);
 
diff -r 845eb751d15b -r 1a2ea3d5b285 sys/arch/arm/sunxi/sunxi_lcdc.c



Home | Main Index | Thread Index | Old Index