From 752ed0867522a68f21392a6b9d78589129248572 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 27 Apr 2024 08:10:58 -0600 Subject: [PATCH] test: Remove and add needed includes Remove from all "test/" files and when needed add missing include files directly. Signed-off-by: Tom Rini --- include/adc.h | 2 ++ include/audio_codec.h | 2 ++ include/axi.h | 2 ++ include/bootmeth.h | 2 ++ include/bootstd.h | 2 ++ include/cedit.h | 3 +++ include/dm/test.h | 2 ++ test/bloblist.c | 1 - test/boot/bootdev.c | 1 - test/boot/bootflow.c | 1 - test/boot/bootmeth.c | 1 - test/boot/bootstd_common.c | 1 - test/boot/cedit.c | 1 - test/boot/expo.c | 1 - test/boot/image.c | 1 - test/boot/measurement.c | 1 - test/boot/vbe_fixup.c | 1 - test/boot/vbe_simple.c | 1 - test/bootm.c | 1 - test/cmd/addrmap.c | 1 - test/cmd/armffa.c | 1 - test/cmd/bdinfo.c | 1 - test/cmd/exit.c | 1 - test/cmd/fdt.c | 1 - test/cmd/font.c | 1 - test/cmd/history.c | 1 - test/cmd/loadm.c | 1 - test/cmd/mem.c | 1 - test/cmd/mem_search.c | 1 - test/cmd/pci_mps.c | 1 - test/cmd/pinmux.c | 1 - test/cmd/rw.c | 1 - test/cmd/seama.c | 1 - test/cmd/setexpr.c | 1 - test/cmd/temperature.c | 1 - test/cmd/test_echo.c | 1 - test/cmd/test_pause.c | 1 - test/cmd/wget.c | 1 - test/cmd_ut.c | 2 +- test/command_ut.c | 1 - test/common/cmd_ut_common.c | 1 - test/common/cread.c | 2 +- test/common/cyclic.c | 1 - test/common/event.c | 1 - test/common/test_autoboot.c | 1 - test/compression.c | 1 - test/dm/acpi.c | 1 - test/dm/acpi_dp.c | 1 - test/dm/acpigen.c | 1 - test/dm/adc.c | 1 - test/dm/audio.c | 1 - test/dm/axi.c | 1 - test/dm/blk.c | 1 - test/dm/blkmap.c | 1 - test/dm/bootcount.c | 1 - test/dm/bus.c | 1 - test/dm/button.c | 1 - test/dm/cache.c | 1 - test/dm/clk.c | 1 - test/dm/clk_ccf.c | 1 - test/dm/core.c | 1 - test/dm/cpu.c | 1 - test/dm/cros_ec.c | 1 - test/dm/cros_ec_pwm.c | 1 - test/dm/devres.c | 1 - test/dm/dma.c | 1 - test/dm/dsi_host.c | 1 - test/dm/efi_media.c | 1 - test/dm/eth.c | 1 - test/dm/fastboot.c | 1 - test/dm/fdtdec.c | 1 - test/dm/ffa.c | 1 - test/dm/firmware.c | 1 - test/dm/fwu_mdata.c | 1 - test/dm/gpio.c | 1 - test/dm/host.c | 1 - test/dm/hwspinlock.c | 1 - test/dm/i2c.c | 1 - test/dm/i2s.c | 1 - test/dm/iommu.c | 1 - test/dm/irq.c | 1 - test/dm/k210_pll.c | 1 - test/dm/led.c | 1 - test/dm/mailbox.c | 1 - test/dm/mdio.c | 1 - test/dm/mdio_mux.c | 1 - test/dm/misc.c | 1 - test/dm/mmc.c | 1 - test/dm/mux-cmd.c | 2 +- test/dm/mux-emul.c | 1 - test/dm/mux-mmio.c | 1 - test/dm/nop.c | 1 - test/dm/nvmxip.c | 1 - test/dm/of_extra.c | 1 - test/dm/of_platdata.c | 1 - test/dm/ofnode.c | 1 - test/dm/ofread.c | 1 - test/dm/osd.c | 1 - test/dm/p2sb.c | 1 - test/dm/panel.c | 1 - test/dm/part.c | 1 - test/dm/pch.c | 1 - test/dm/pci.c | 1 - test/dm/pci_ep.c | 1 - test/dm/phy.c | 1 - test/dm/phys2bus.c | 1 - test/dm/pinmux.c | 1 - test/dm/pmc.c | 1 - test/dm/pmic.c | 1 - test/dm/power-domain.c | 1 - test/dm/pwm.c | 1 - test/dm/qfw.c | 1 - test/dm/ram.c | 1 - test/dm/read.c | 1 - test/dm/reboot-mode.c | 1 - test/dm/regmap.c | 2 +- test/dm/regulator.c | 1 - test/dm/remoteproc.c | 3 ++- test/dm/reset.c | 1 - test/dm/rkmtd.c | 1 - test/dm/rng.c | 1 - test/dm/rtc.c | 1 - test/dm/scmi.c | 1 - test/dm/scsi.c | 1 - test/dm/serial.c | 1 - test/dm/sf.c | 1 - test/dm/simple-bus.c | 1 - test/dm/simple-pm-bus.c | 1 - test/dm/sm.c | 1 - test/dm/smem.c | 1 - test/dm/soc.c | 1 - test/dm/sound.c | 1 - test/dm/spi.c | 1 - test/dm/spmi.c | 1 - test/dm/syscon-reset.c | 1 - test/dm/syscon.c | 1 - test/dm/sysinfo-gpio.c | 1 - test/dm/sysinfo.c | 1 - test/dm/sysreset.c | 1 - test/dm/tag.c | 1 - test/dm/tee.c | 1 - test/dm/test-dm.c | 1 - test/dm/test-driver.c | 1 - test/dm/test-fdt.c | 1 - test/dm/test-uclass.c | 1 - test/dm/timer.c | 1 - test/dm/tpm.c | 1 - test/dm/usb.c | 1 - test/dm/video.c | 1 - test/dm/virtio.c | 1 - test/dm/virtio_device.c | 1 - test/dm/virtio_rng.c | 1 - test/dm/wdt.c | 2 +- test/env/attr.c | 1 - test/env/cmd_ut_env.c | 1 - test/env/fdt.c | 1 - test/env/hashtable.c | 2 +- test/fuzz/cmd_fuzz.c | 1 - test/fuzz/virtio.c | 1 - test/image/spl_load.c | 1 - test/image/spl_load_fs.c | 1 - test/image/spl_load_net.c | 1 - test/image/spl_load_nor.c | 1 - test/image/spl_load_os.c | 1 - test/image/spl_load_spi.c | 1 - test/lib/abuf.c | 1 - test/lib/asn1.c | 1 - test/lib/cmd_ut_lib.c | 1 - test/lib/efi_device_path.c | 1 - test/lib/efi_image_region.c | 1 - test/lib/getopt.c | 1 - test/lib/hexdump.c | 1 - test/lib/kconfig.c | 1 - test/lib/kconfig_spl.c | 1 - test/lib/lmb.c | 1 - test/lib/longjmp.c | 1 - test/lib/rsa.c | 1 - test/lib/sscanf.c | 1 - test/lib/string.c | 1 - test/lib/strlcat.c | 1 - test/lib/test_aes.c | 1 - test/lib/test_crypt.c | 1 - test/lib/test_errno_str.c | 1 - test/lib/test_print.c | 1 - test/lib/uuid.c | 1 - test/log/cont_test.c | 1 - test/log/log_filter.c | 1 - test/log/log_test.c | 1 - test/log/log_ut.c | 1 - test/log/nolog_ndebug.c | 1 - test/log/nolog_test.c | 1 - test/log/pr_cont_test.c | 1 - test/log/syslog_test.c | 1 - test/log/syslog_test_ndebug.c | 1 - test/optee/cmd_ut_optee.c | 1 - test/overlay/cmd_ut_overlay.c | 1 - test/print_ut.c | 1 - test/stdint/int-types.c | 2 +- test/str_ut.c | 1 - test/test-main.c | 1 - test/time_ut.c | 1 - test/unicode_ut.c | 1 - test/ut.c | 1 - 203 files changed, 24 insertions(+), 196 deletions(-) diff --git a/include/adc.h b/include/adc.h index 0d1a666908..15e4cdb7dc 100644 --- a/include/adc.h +++ b/include/adc.h @@ -7,6 +7,8 @@ #ifndef _ADC_H_ #define _ADC_H_ +#include + /* ADC_CHANNEL() - ADC channel bit mask, to select only required channels */ #define ADC_CHANNEL(x) (1 << x) diff --git a/include/audio_codec.h b/include/audio_codec.h index a81a315157..a87b76c6f9 100644 --- a/include/audio_codec.h +++ b/include/audio_codec.h @@ -7,6 +7,8 @@ #ifndef __AUDIO_CODEC_H__ #define __AUDIO_CODEC_H__ +#include + struct udevice; /* diff --git a/include/axi.h b/include/axi.h index 59fb0b2e45..133a06ee27 100644 --- a/include/axi.h +++ b/include/axi.h @@ -7,6 +7,8 @@ #ifndef _AXI_H_ #define _AXI_H_ +#include + struct udevice; /** diff --git a/include/bootmeth.h b/include/bootmeth.h index 0fc36104ec..cd9517321c 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -7,6 +7,8 @@ #ifndef __bootmeth_h #define __bootmeth_h +#include + struct blk_desc; struct bootflow; struct bootflow_iter; diff --git a/include/bootstd.h b/include/bootstd.h index 99ce7b64e7..ac756e98d8 100644 --- a/include/bootstd.h +++ b/include/bootstd.h @@ -10,6 +10,8 @@ #define __bootstd_h #include +#include +#include struct udevice; diff --git a/include/cedit.h b/include/cedit.h index f43cafa5aa..a31b424524 100644 --- a/include/cedit.h +++ b/include/cedit.h @@ -7,12 +7,15 @@ #ifndef __CEDIT_H #define __CEDIT_H +#include #include +#include struct abuf; struct expo; struct scene; struct video_priv; +struct udevice; enum { /* size increment for writing FDT */ diff --git a/include/dm/test.h b/include/dm/test.h index b593750921..02737411a1 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -6,6 +6,8 @@ #ifndef __DM_TEST_H #define __DM_TEST_H +#include + struct udevice; /** diff --git a/test/bloblist.c b/test/bloblist.c index 1c60bbac36..7c63682908 100644 --- a/test/bloblist.c +++ b/test/bloblist.c @@ -3,7 +3,6 @@ * Copyright (c) 2018, Google Inc. All rights reserved. */ -#include #include #include #include diff --git a/test/boot/bootdev.c b/test/boot/bootdev.c index 0702fccdae..6e940002f8 100644 --- a/test/boot/bootdev.c +++ b/test/boot/bootdev.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index 674d4c05f8..4511cfa7f9 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/bootmeth.c b/test/boot/bootmeth.c index e498eee036..113b789ea7 100644 --- a/test/boot/bootmeth.c +++ b/test/boot/bootmeth.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/bootstd_common.c b/test/boot/bootstd_common.c index cc97e255e5..e50539500a 100644 --- a/test/boot/bootstd_common.c +++ b/test/boot/bootstd_common.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/cedit.c b/test/boot/cedit.c index aa41719048..fd19da0a0c 100644 --- a/test/boot/cedit.c +++ b/test/boot/cedit.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/expo.c b/test/boot/expo.c index 714fdfa415..6ea0184373 100644 --- a/test/boot/expo.c +++ b/test/boot/expo.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/image.c b/test/boot/image.c index 2844b05785..0894e30587 100644 --- a/test/boot/image.c +++ b/test/boot/image.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/measurement.c b/test/boot/measurement.c index 9db2ed324c..29be495412 100644 --- a/test/boot/measurement.c +++ b/test/boot/measurement.c @@ -6,7 +6,6 @@ * Written by Eddie James */ -#include #include #include #include diff --git a/test/boot/vbe_fixup.c b/test/boot/vbe_fixup.c index eba5c4ebe6..540816e42b 100644 --- a/test/boot/vbe_fixup.c +++ b/test/boot/vbe_fixup.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/boot/vbe_simple.c b/test/boot/vbe_simple.c index 5e61840652..3672b744e5 100644 --- a/test/boot/vbe_simple.c +++ b/test/boot/vbe_simple.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/bootm.c b/test/bootm.c index 4bb3ca0655..26c15552bf 100644 --- a/test/bootm.c +++ b/test/bootm.c @@ -5,7 +5,6 @@ * Copyright 2020 Google LLC */ -#include #include #include #include diff --git a/test/cmd/addrmap.c b/test/cmd/addrmap.c index 1eb5955db1..7b8f49fd37 100644 --- a/test/cmd/addrmap.c +++ b/test/cmd/addrmap.c @@ -5,7 +5,6 @@ * Copyright (C) 2021, Bin Meng */ -#include #include #include #include diff --git a/test/cmd/armffa.c b/test/cmd/armffa.c index 9a44a397e8..38f40b72f5 100644 --- a/test/cmd/armffa.c +++ b/test/cmd/armffa.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi */ -#include #include #include #include diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index 4977d01f62..027848c3e2 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -5,7 +5,6 @@ * Copyright 2023 Marek Vasut */ -#include #include #include #include diff --git a/test/cmd/exit.c b/test/cmd/exit.c index 7e160f7e4b..d310ec8531 100644 --- a/test/cmd/exit.c +++ b/test/cmd/exit.c @@ -5,7 +5,6 @@ * Copyright 2022 Marek Vasut */ -#include #include #include #include diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c index 5470855217..a0faf5aca9 100644 --- a/test/cmd/fdt.c +++ b/test/cmd/fdt.c @@ -5,7 +5,6 @@ * Copyright 2022 Google LLC */ -#include #include #include #include diff --git a/test/cmd/font.c b/test/cmd/font.c index 1fe05c1ead..a8905ce617 100644 --- a/test/cmd/font.c +++ b/test/cmd/font.c @@ -5,7 +5,6 @@ * Copyright 2022 Google LLC */ -#include #include #include #include diff --git a/test/cmd/history.c b/test/cmd/history.c index 06517fcdbb..6964bfa9e1 100644 --- a/test/cmd/history.c +++ b/test/cmd/history.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/cmd/loadm.c b/test/cmd/loadm.c index 41e005ac59..dff8a97d13 100644 --- a/test/cmd/loadm.c +++ b/test/cmd/loadm.c @@ -9,7 +9,6 @@ * Rui Miguel Silva */ -#include #include #include #include diff --git a/test/cmd/mem.c b/test/cmd/mem.c index d76f47cf31..f1bbab6055 100644 --- a/test/cmd/mem.c +++ b/test/cmd/mem.c @@ -5,7 +5,6 @@ * Copyright 2020 Google LLC */ -#include #include #include #include diff --git a/test/cmd/mem_search.c b/test/cmd/mem_search.c index f80c9c4068..55ad2fac1e 100644 --- a/test/cmd/mem_search.c +++ b/test/cmd/mem_search.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/cmd/pci_mps.c b/test/cmd/pci_mps.c index fd96f4fba6..2a64143eec 100644 --- a/test/cmd/pci_mps.c +++ b/test/cmd/pci_mps.c @@ -7,7 +7,6 @@ * Written by Stephen Carlson */ -#include #include #include #include diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c index df40bb7743..4253baa564 100644 --- a/test/cmd/pinmux.c +++ b/test/cmd/pinmux.c @@ -5,7 +5,6 @@ * Copyright (C) 2021, STMicroelectronics - All Rights Reserved */ -#include #include #include #include diff --git a/test/cmd/rw.c b/test/cmd/rw.c index 98302bf047..edd762e4d5 100644 --- a/test/cmd/rw.c +++ b/test/cmd/rw.c @@ -3,7 +3,6 @@ * Tests for read and write commands */ -#include #include #include #include diff --git a/test/cmd/seama.c b/test/cmd/seama.c index b1b56930c6..b60f6550b1 100644 --- a/test/cmd/seama.c +++ b/test/cmd/seama.c @@ -5,7 +5,6 @@ * Copyright (C) 2021 Linus Walleij */ -#include #include #include #include diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c index ee329e94b8..d50ce5803c 100644 --- a/test/cmd/setexpr.c +++ b/test/cmd/setexpr.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/cmd/temperature.c b/test/cmd/temperature.c index 2a1ea0611d..364972626b 100644 --- a/test/cmd/temperature.c +++ b/test/cmd/temperature.c @@ -5,7 +5,6 @@ * Copyright (C) 2022 Sartura Ltd. */ -#include #include #include #include diff --git a/test/cmd/test_echo.c b/test/cmd/test_echo.c index 091e4f823c..cde74ebeb6 100644 --- a/test/cmd/test_echo.c +++ b/test/cmd/test_echo.c @@ -5,7 +5,6 @@ * Copyright 2020, Heinrich Schuchadt */ -#include #include #include #include diff --git a/test/cmd/test_pause.c b/test/cmd/test_pause.c index 2b85cce327..3703290350 100644 --- a/test/cmd/test_pause.c +++ b/test/cmd/test_pause.c @@ -5,7 +5,6 @@ * Copyright 2022, Samuel Dionne-Riel */ -#include #include #include #include diff --git a/test/cmd/wget.c b/test/cmd/wget.c index ed83fc94a5..356a4dcd8f 100644 --- a/test/cmd/wget.c +++ b/test/cmd/wget.c @@ -6,7 +6,6 @@ * Ying-Chun Liu (PaulLiu) */ -#include #include #include #include diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 0677ce0cd1..4e4aa8f1cb 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -4,9 +4,9 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include #include #include +#include #include #include #include diff --git a/test/command_ut.c b/test/command_ut.c index a74bd109e1..2b8d28d7ae 100644 --- a/test/command_ut.c +++ b/test/command_ut.c @@ -5,7 +5,6 @@ #define DEBUG -#include #include #include #include diff --git a/test/common/cmd_ut_common.c b/test/common/cmd_ut_common.c index 2c0267801b..2f03a58af4 100644 --- a/test/common/cmd_ut_common.c +++ b/test/common/cmd_ut_common.c @@ -6,7 +6,6 @@ * Unit tests for common functions */ -#include #include #include #include diff --git a/test/common/cread.c b/test/common/cread.c index 4edc773960..e159caed04 100644 --- a/test/common/cread.c +++ b/test/common/cread.c @@ -3,8 +3,8 @@ * Copyright 2023 Google LLC */ -#include #include +#include #include #include #include diff --git a/test/common/cyclic.c b/test/common/cyclic.c index 6e758e89db..461f8cf91f 100644 --- a/test/common/cyclic.c +++ b/test/common/cyclic.c @@ -3,7 +3,6 @@ * Copyright (C) 2022 Stefan Roese */ -#include #include #include #include diff --git a/test/common/event.c b/test/common/event.c index b462694fc3..de433d34f2 100644 --- a/test/common/event.c +++ b/test/common/event.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/common/test_autoboot.c b/test/common/test_autoboot.c index 42a1e4ab1f..4ba1dcc809 100644 --- a/test/common/test_autoboot.c +++ b/test/common/test_autoboot.c @@ -6,7 +6,6 @@ */ #include -#include #include #include #include diff --git a/test/compression.c b/test/compression.c index 3df90819a1..aa1d38bb7b 100644 --- a/test/compression.c +++ b/test/compression.c @@ -3,7 +3,6 @@ * Copyright (c) 2013, The Chromium Authors */ -#include #include #include #include diff --git a/test/dm/acpi.c b/test/dm/acpi.c index f14b3962f8..4db2171a4b 100644 --- a/test/dm/acpi.c +++ b/test/dm/acpi.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/acpi_dp.c b/test/dm/acpi_dp.c index 44bcabda6b..87bd8ae674 100644 --- a/test/dm/acpi_dp.c +++ b/test/dm/acpi_dp.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/acpigen.c b/test/dm/acpigen.c index 15b2b6f64a..7113219792 100644 --- a/test/dm/acpigen.c +++ b/test/dm/acpigen.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/adc.c b/test/dm/adc.c index 740167e16b..a26a677074 100644 --- a/test/dm/adc.c +++ b/test/dm/adc.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak */ -#include #include #include #include diff --git a/test/dm/audio.c b/test/dm/audio.c index add15ae20e..3d1d821f32 100644 --- a/test/dm/audio.c +++ b/test/dm/audio.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/axi.c b/test/dm/axi.c index dc029df5e4..0900a9b548 100644 --- a/test/dm/axi.c +++ b/test/dm/axi.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/dm/blk.c b/test/dm/blk.c index 799f1e4dc7..d03aec32f6 100644 --- a/test/dm/blk.c +++ b/test/dm/blk.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/blkmap.c b/test/dm/blkmap.c index 7a163d6eae..7581e62df3 100644 --- a/test/dm/blkmap.c +++ b/test/dm/blkmap.c @@ -4,7 +4,6 @@ * Author: Tobias Waldekranz */ -#include #include #include #include diff --git a/test/dm/bootcount.c b/test/dm/bootcount.c index b77b472d1f..9cfc7d48aa 100644 --- a/test/dm/bootcount.c +++ b/test/dm/bootcount.c @@ -3,7 +3,6 @@ * (C) 2018 Theobroma Systems Design und Consulting GmbH */ -#include #include #include #include diff --git a/test/dm/bus.c b/test/dm/bus.c index 89a6aa6554..a338c7f567 100644 --- a/test/dm/bus.c +++ b/test/dm/bus.c @@ -3,7 +3,6 @@ * Copyright (c) 2014 Google, Inc */ -#include #ifdef CONFIG_SANDBOX #include #include diff --git a/test/dm/button.c b/test/dm/button.c index 830d96fbef..9157ec9287 100644 --- a/test/dm/button.c +++ b/test/dm/button.c @@ -5,7 +5,6 @@ * Based on led.c */ -#include #include #include #include diff --git a/test/dm/cache.c b/test/dm/cache.c index bbd8f98d00..d2f3bfe2ca 100644 --- a/test/dm/cache.c +++ b/test/dm/cache.c @@ -3,7 +3,6 @@ * Copyright (C) 2019 Intel Corporation */ -#include #include #include diff --git a/test/dm/clk.c b/test/dm/clk.c index 57fabbdce0..a966471dbd 100644 --- a/test/dm/clk.c +++ b/test/dm/clk.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/clk_ccf.c b/test/dm/clk_ccf.c index 61dad8d852..15fba31b96 100644 --- a/test/dm/clk_ccf.c +++ b/test/dm/clk_ccf.c @@ -4,7 +4,6 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ -#include #include #include #include diff --git a/test/dm/core.c b/test/dm/core.c index 7f3f8d183b..4741c81bcc 100644 --- a/test/dm/core.c +++ b/test/dm/core.c @@ -5,7 +5,6 @@ * Copyright (c) 2013 Google, Inc */ -#include #include #include #include diff --git a/test/dm/cpu.c b/test/dm/cpu.c index 5734cd0a92..acba810599 100644 --- a/test/dm/cpu.c +++ b/test/dm/cpu.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/dm/cros_ec.c b/test/dm/cros_ec.c index 30cb70e088..ac0055f0ac 100644 --- a/test/dm/cros_ec.c +++ b/test/dm/cros_ec.c @@ -3,7 +3,6 @@ * Copyright 2021 Google LLC */ -#include #include #include #include diff --git a/test/dm/cros_ec_pwm.c b/test/dm/cros_ec_pwm.c index f8d6e1e6c4..f68ee6f33b 100644 --- a/test/dm/cros_ec_pwm.c +++ b/test/dm/cros_ec_pwm.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include #include #include #include diff --git a/test/dm/devres.c b/test/dm/devres.c index 3df0f64362..95a470b9f1 100644 --- a/test/dm/devres.c +++ b/test/dm/devres.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/test/dm/dma.c b/test/dm/dma.c index cce47cb218..949710fdb4 100644 --- a/test/dm/dma.c +++ b/test/dm/dma.c @@ -6,7 +6,6 @@ * Grygorii Strashko */ -#include #include #include #include diff --git a/test/dm/dsi_host.c b/test/dm/dsi_host.c index 6e0a5df704..68686a40d9 100644 --- a/test/dm/dsi_host.c +++ b/test/dm/dsi_host.c @@ -4,7 +4,6 @@ * Author(s): Yannick Fertre for STMicroelectronics. */ -#include #include #include #include diff --git a/test/dm/efi_media.c b/test/dm/efi_media.c index e343a0e9c8..9d0ed0f075 100644 --- a/test/dm/efi_media.c +++ b/test/dm/efi_media.c @@ -5,7 +5,6 @@ * Copyright 2021 Google LLC */ -#include #include #include #include diff --git a/test/dm/eth.c b/test/dm/eth.c index bb3dcc6b95..820b8cbfc2 100644 --- a/test/dm/eth.c +++ b/test/dm/eth.c @@ -6,7 +6,6 @@ * Joe Hershberger */ -#include #include #include #include diff --git a/test/dm/fastboot.c b/test/dm/fastboot.c index 758538d0e8..5d938eb7f1 100644 --- a/test/dm/fastboot.c +++ b/test/dm/fastboot.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c index 087d4846da..b484414f5f 100644 --- a/test/dm/fdtdec.c +++ b/test/dm/fdtdec.c @@ -3,7 +3,6 @@ * Copyright 2020 NXP */ -#include #include #include #include diff --git a/test/dm/ffa.c b/test/dm/ffa.c index 6912666bb4..fa6d54d00d 100644 --- a/test/dm/ffa.c +++ b/test/dm/ffa.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi */ -#include #include #include #include diff --git a/test/dm/firmware.c b/test/dm/firmware.c index f37bccfe4a..ec68e81699 100644 --- a/test/dm/firmware.c +++ b/test/dm/firmware.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Xilinx, Inc. */ -#include #include #include #include diff --git a/test/dm/fwu_mdata.c b/test/dm/fwu_mdata.c index 52018f610f..43ce3d0a9d 100644 --- a/test/dm/fwu_mdata.c +++ b/test/dm/fwu_mdata.c @@ -5,7 +5,6 @@ */ #include -#include #include #include #include diff --git a/test/dm/gpio.c b/test/dm/gpio.c index 0d88ec24bd..957ab25c8d 100644 --- a/test/dm/gpio.c +++ b/test/dm/gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include #include #include #include diff --git a/test/dm/host.c b/test/dm/host.c index ca05a36b31..e514f8409c 100644 --- a/test/dm/host.c +++ b/test/dm/host.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/hwspinlock.c b/test/dm/hwspinlock.c index 995759d4d7..a05b183b8b 100644 --- a/test/dm/hwspinlock.c +++ b/test/dm/hwspinlock.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include #include #include #include diff --git a/test/dm/i2c.c b/test/dm/i2c.c index b46a22e79b..e9cf9f7819 100644 --- a/test/dm/i2c.c +++ b/test/dm/i2c.c @@ -5,7 +5,6 @@ * Note: Test coverage does not include 10-bit addressing */ -#include #include #include #include diff --git a/test/dm/i2s.c b/test/dm/i2s.c index c2bf4d5604..a3d3a31b6f 100644 --- a/test/dm/i2s.c +++ b/test/dm/i2s.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/iommu.c b/test/dm/iommu.c index 62d38f1214..acea5f2897 100644 --- a/test/dm/iommu.c +++ b/test/dm/iommu.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Mark Kettenis */ -#include #include #include #include diff --git a/test/dm/irq.c b/test/dm/irq.c index 51dd5e4abb..d22772ab76 100644 --- a/test/dm/irq.c +++ b/test/dm/irq.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/test/dm/k210_pll.c b/test/dm/k210_pll.c index 354720f61e..2a58149963 100644 --- a/test/dm/k210_pll.c +++ b/test/dm/k210_pll.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include /* For DIV_ROUND_DOWN_ULL, defined in linux/kernel.h */ #include #include diff --git a/test/dm/led.c b/test/dm/led.c index eed3f4654c..c28fa044f4 100644 --- a/test/dm/led.c +++ b/test/dm/led.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/mailbox.c b/test/dm/mailbox.c index 7ad8a1cbba..14f72d58d1 100644 --- a/test/dm/mailbox.c +++ b/test/dm/mailbox.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include #include #include #include diff --git a/test/dm/mdio.c b/test/dm/mdio.c index f863c52645..7ececf37cc 100644 --- a/test/dm/mdio.c +++ b/test/dm/mdio.c @@ -4,7 +4,6 @@ * Alex Marginean, NXP */ -#include #include #include #include diff --git a/test/dm/mdio_mux.c b/test/dm/mdio_mux.c index bfe3518221..33a7e97260 100644 --- a/test/dm/mdio_mux.c +++ b/test/dm/mdio_mux.c @@ -4,7 +4,6 @@ * Alex Marginean, NXP */ -#include #include #include #include diff --git a/test/dm/misc.c b/test/dm/misc.c index 8bdd8c64bc..ad856fd01b 100644 --- a/test/dm/misc.c +++ b/test/dm/misc.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/dm/mmc.c b/test/dm/mmc.c index b1eb8bee2f..c0abea797d 100644 --- a/test/dm/mmc.c +++ b/test/dm/mmc.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/mux-cmd.c b/test/dm/mux-cmd.c index 11c237b5da..d4bb8befa3 100644 --- a/test/dm/mux-cmd.c +++ b/test/dm/mux-cmd.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Texas Instruments Inc. * Pratyush Yadav */ -#include #include #include #include @@ -13,6 +12,7 @@ #include #include #include +#include #define BUF_SIZE 256 diff --git a/test/dm/mux-emul.c b/test/dm/mux-emul.c index c6aeeb7e1f..febd521104 100644 --- a/test/dm/mux-emul.c +++ b/test/dm/mux-emul.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ * Pratyush Yadav */ -#include #include #include #include diff --git a/test/dm/mux-mmio.c b/test/dm/mux-mmio.c index 27c881dabd..3a871a19c7 100644 --- a/test/dm/mux-mmio.c +++ b/test/dm/mux-mmio.c @@ -4,7 +4,6 @@ * Jean-Jacques Hiblot */ -#include #include #include #include diff --git a/test/dm/nop.c b/test/dm/nop.c index f7d9a0f3df..0c79431d9d 100644 --- a/test/dm/nop.c +++ b/test/dm/nop.c @@ -6,7 +6,6 @@ * Jean-Jacques Hiblot */ -#include #include #include #include diff --git a/test/dm/nvmxip.c b/test/dm/nvmxip.c index f0ad47d4ef..537959a093 100644 --- a/test/dm/nvmxip.c +++ b/test/dm/nvmxip.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi */ -#include #include #include #include diff --git a/test/dm/of_extra.c b/test/dm/of_extra.c index ac2d886892..3c31bfcd31 100644 --- a/test/dm/of_extra.c +++ b/test/dm/of_extra.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/of_platdata.c b/test/dm/of_platdata.c index a241c42793..d4939e8851 100644 --- a/test/dm/of_platdata.c +++ b/test/dm/of_platdata.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include #include #include #include diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c index a5bc43aea4..39191d7f52 100644 --- a/test/dm/ofnode.c +++ b/test/dm/ofnode.c @@ -16,7 +16,6 @@ * behaviour of each ofnode function, since that is done by the normal ones. */ -#include #include #include #include diff --git a/test/dm/ofread.c b/test/dm/ofread.c index 3523860d2b..69d03c4910 100644 --- a/test/dm/ofread.c +++ b/test/dm/ofread.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -#include #include #include #include diff --git a/test/dm/osd.c b/test/dm/osd.c index 6279b391ca..cf4a3a545e 100644 --- a/test/dm/osd.c +++ b/test/dm/osd.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/dm/p2sb.c b/test/dm/p2sb.c index df24709141..3ada1fcb36 100644 --- a/test/dm/p2sb.c +++ b/test/dm/p2sb.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/test/dm/panel.c b/test/dm/panel.c index 4d435a0d25..8be7c397a4 100644 --- a/test/dm/panel.c +++ b/test/dm/panel.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/part.c b/test/dm/part.c index d6e4345812..cabb31d18c 100644 --- a/test/dm/part.c +++ b/test/dm/part.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include #include diff --git a/test/dm/pch.c b/test/dm/pch.c index 53f7bbf180..b37b856d5d 100644 --- a/test/dm/pch.c +++ b/test/dm/pch.c @@ -3,7 +3,6 @@ * Copyright 2018 Google LLC */ -#include #include #include #include diff --git a/test/dm/pci.c b/test/dm/pci.c index 8c5e7da9e6..9b97f2e054 100644 --- a/test/dm/pci.c +++ b/test/dm/pci.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/pci_ep.c b/test/dm/pci_ep.c index 9941abd4ce..e82fc53f84 100644 --- a/test/dm/pci_ep.c +++ b/test/dm/pci_ep.c @@ -3,7 +3,6 @@ * Copyright (C) 2019 Ramon Fried */ -#include #include #include #include diff --git a/test/dm/phy.c b/test/dm/phy.c index 0cf3689fde..d14117f6f7 100644 --- a/test/dm/phy.c +++ b/test/dm/phy.c @@ -4,7 +4,6 @@ * Written by Jean-Jacques Hiblot */ -#include #include #include #include diff --git a/test/dm/phys2bus.c b/test/dm/phys2bus.c index 342f2fa8eb..1ee2150482 100644 --- a/test/dm/phys2bus.c +++ b/test/dm/phys2bus.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Nicolas Saenz Julienne */ -#include #include #include #include diff --git a/test/dm/pinmux.c b/test/dm/pinmux.c index 6880b2d2cd..cfbe3ef5d1 100644 --- a/test/dm/pinmux.c +++ b/test/dm/pinmux.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include #include diff --git a/test/dm/pmc.c b/test/dm/pmc.c index e70227e780..bbad1ee274 100644 --- a/test/dm/pmc.c +++ b/test/dm/pmc.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include #include #include #include diff --git a/test/dm/pmic.c b/test/dm/pmic.c index ce671202fb..53a6f0369e 100644 --- a/test/dm/pmic.c +++ b/test/dm/pmic.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak */ -#include #include #include #include diff --git a/test/dm/power-domain.c b/test/dm/power-domain.c index 8604b5d72d..120a9059c8 100644 --- a/test/dm/power-domain.c +++ b/test/dm/power-domain.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include #include #include #include diff --git a/test/dm/pwm.c b/test/dm/pwm.c index dff626c771..80133347ec 100644 --- a/test/dm/pwm.c +++ b/test/dm/pwm.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 Google, Inc */ -#include #include #include #include diff --git a/test/dm/qfw.c b/test/dm/qfw.c index f3f3568983..3c354163ef 100644 --- a/test/dm/qfw.c +++ b/test/dm/qfw.c @@ -3,7 +3,6 @@ * Copyright 2021 Asherah Connor */ -#include #include #include #include diff --git a/test/dm/ram.c b/test/dm/ram.c index f624343138..188c7c3275 100644 --- a/test/dm/ram.c +++ b/test/dm/ram.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/read.c b/test/dm/read.c index 7768aa2968..4ecf18110d 100644 --- a/test/dm/read.c +++ b/test/dm/read.c @@ -3,7 +3,6 @@ * Copyright (c) 2020 Nicolas Saenz Julienne */ -#include #include #include #include diff --git a/test/dm/reboot-mode.c b/test/dm/reboot-mode.c index fbb9c3a542..160b4da07f 100644 --- a/test/dm/reboot-mode.c +++ b/test/dm/reboot-mode.c @@ -3,7 +3,6 @@ * (C) 2018 Theobroma Systems Design und Consulting GmbH */ -#include #include #include #include diff --git a/test/dm/regmap.c b/test/dm/regmap.c index 8560f2afc2..1398f8f657 100644 --- a/test/dm/regmap.c +++ b/test/dm/regmap.c @@ -3,13 +3,13 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include #include #include #include +#include #include #include #include diff --git a/test/dm/regulator.c b/test/dm/regulator.c index 86f4862d9d..9e45fd177b 100644 --- a/test/dm/regulator.c +++ b/test/dm/regulator.c @@ -6,7 +6,6 @@ * Przemyslaw Marczak */ -#include #include #include #include diff --git a/test/dm/remoteproc.c b/test/dm/remoteproc.c index f6f9e509e2..ef9e8e5a0d 100644 --- a/test/dm/remoteproc.c +++ b/test/dm/remoteproc.c @@ -3,7 +3,8 @@ * (C) Copyright 2015 * Texas Instruments Incorporated - https://www.ti.com/ */ -#include + +#include #include #include #include diff --git a/test/dm/reset.c b/test/dm/reset.c index e2d6f45623..d3158bf4a7 100644 --- a/test/dm/reset.c +++ b/test/dm/reset.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include #include #include #include diff --git a/test/dm/rkmtd.c b/test/dm/rkmtd.c index 3c3e8efa92..3dc9ca1add 100644 --- a/test/dm/rkmtd.c +++ b/test/dm/rkmtd.c @@ -8,7 +8,6 @@ * Copyright (C) 2023 Johan Jonker */ -#include #include #include #include diff --git a/test/dm/rng.c b/test/dm/rng.c index 6d1f68848d..c8ed6cadf5 100644 --- a/test/dm/rng.c +++ b/test/dm/rng.c @@ -3,7 +3,6 @@ * Copyright (c) 2019, Linaro Limited */ -#include #include #include #include diff --git a/test/dm/rtc.c b/test/dm/rtc.c index bf97dbbd2f..a8aa41955c 100644 --- a/test/dm/rtc.c +++ b/test/dm/rtc.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/scmi.c b/test/dm/scmi.c index adf36ffaab..69fc900e34 100644 --- a/test/dm/scmi.c +++ b/test/dm/scmi.c @@ -12,7 +12,6 @@ * unknown SCMI protocol ID. */ -#include #include #include #include diff --git a/test/dm/scsi.c b/test/dm/scsi.c index 380cfc88ba..5180159fb2 100644 --- a/test/dm/scsi.c +++ b/test/dm/scsi.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/serial.c b/test/dm/serial.c index 34b783e062..34c0d4db87 100644 --- a/test/dm/serial.c +++ b/test/dm/serial.c @@ -3,7 +3,6 @@ * Copyright (c) 2018, STMicroelectronics */ -#include #include #include #include diff --git a/test/dm/sf.c b/test/dm/sf.c index 17d43fef3b..0e3a0f13f9 100644 --- a/test/dm/sf.c +++ b/test/dm/sf.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include #include #include #include diff --git a/test/dm/simple-bus.c b/test/dm/simple-bus.c index 3530b47fac..8a730ba2fc 100644 --- a/test/dm/simple-bus.c +++ b/test/dm/simple-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2021, Bin Meng */ -#include #include #include #include diff --git a/test/dm/simple-pm-bus.c b/test/dm/simple-pm-bus.c index 792c745058..9949cb34d5 100644 --- a/test/dm/simple-pm-bus.c +++ b/test/dm/simple-pm-bus.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include #include diff --git a/test/dm/sm.c b/test/dm/sm.c index 7ebb0c9c85..4d95c2ad75 100644 --- a/test/dm/sm.c +++ b/test/dm/sm.c @@ -5,7 +5,6 @@ * Author: Alexey Romanov */ -#include #include #include #include diff --git a/test/dm/smem.c b/test/dm/smem.c index 289fb59ba1..adcbfe574a 100644 --- a/test/dm/smem.c +++ b/test/dm/smem.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Ramon Fried */ -#include #include #include #include diff --git a/test/dm/soc.c b/test/dm/soc.c index 8f6c97fa79..cb0ac1545f 100644 --- a/test/dm/soc.c +++ b/test/dm/soc.c @@ -6,7 +6,6 @@ * Dave Gerlach */ -#include #include #include #include diff --git a/test/dm/sound.c b/test/dm/sound.c index 15d545ab5a..f4e6215e68 100644 --- a/test/dm/sound.c +++ b/test/dm/sound.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/spi.c b/test/dm/spi.c index 325799bbf1..1ab2dd7832 100644 --- a/test/dm/spi.c +++ b/test/dm/spi.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 Google, Inc */ -#include #include #include #include diff --git a/test/dm/spmi.c b/test/dm/spmi.c index 97bb0eb30f..e10ae8db4d 100644 --- a/test/dm/spmi.c +++ b/test/dm/spmi.c @@ -3,7 +3,6 @@ * (C) Copyright 2015 Mateusz Kulikowski */ -#include #include #include #include diff --git a/test/dm/syscon-reset.c b/test/dm/syscon-reset.c index eeaddf8839..ba19504573 100644 --- a/test/dm/syscon-reset.c +++ b/test/dm/syscon-reset.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include #include diff --git a/test/dm/syscon.c b/test/dm/syscon.c index be23297233..04d324e87d 100644 --- a/test/dm/syscon.c +++ b/test/dm/syscon.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/sysinfo-gpio.c b/test/dm/sysinfo-gpio.c index 2e494b3f34..24a99dafb1 100644 --- a/test/dm/sysinfo-gpio.c +++ b/test/dm/sysinfo-gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2021 Sean Anderson */ -#include #include #include #include diff --git a/test/dm/sysinfo.c b/test/dm/sysinfo.c index 96b3a8ebab..7444a580df 100644 --- a/test/dm/sysinfo.c +++ b/test/dm/sysinfo.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/dm/sysreset.c b/test/dm/sysreset.c index 5aa69e0461..f3a859be78 100644 --- a/test/dm/sysreset.c +++ b/test/dm/sysreset.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/tag.c b/test/dm/tag.c index 8ae8a1fcd6..bce8a35acf 100644 --- a/test/dm/tag.c +++ b/test/dm/tag.c @@ -6,7 +6,6 @@ * Author: AKASHI Takahiro */ -#include #include #include /* DM_TEST() */ #include /* struct unit_test_state */ diff --git a/test/dm/tee.c b/test/dm/tee.c index 7a11bf8913..bb02a9b3c9 100644 --- a/test/dm/tee.c +++ b/test/dm/tee.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Linaro Limited */ -#include #include #include #include diff --git a/test/dm/test-dm.c b/test/dm/test-dm.c index e73a1dd8f8..4bc2c45db6 100644 --- a/test/dm/test-dm.c +++ b/test/dm/test-dm.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include #include #include diff --git a/test/dm/test-driver.c b/test/dm/test-driver.c index 02cb974b0f..851177c301 100644 --- a/test/dm/test-driver.c +++ b/test/dm/test-driver.c @@ -6,7 +6,6 @@ * Pavel Herrmann */ -#include #include #include #include diff --git a/test/dm/test-fdt.c b/test/dm/test-fdt.c index 72d0eb57e2..18c89eef43 100644 --- a/test/dm/test-fdt.c +++ b/test/dm/test-fdt.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 Google, Inc */ -#include #include #include #include diff --git a/test/dm/test-uclass.c b/test/dm/test-uclass.c index 067701734a..9a80cc6366 100644 --- a/test/dm/test-uclass.c +++ b/test/dm/test-uclass.c @@ -6,7 +6,6 @@ * Pavel Herrmann */ -#include #include #include #include diff --git a/test/dm/timer.c b/test/dm/timer.c index 9f94d47692..7fcefc42e5 100644 --- a/test/dm/timer.c +++ b/test/dm/timer.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Thomas Chou */ -#include #include #include #include diff --git a/test/dm/tpm.c b/test/dm/tpm.c index cde933ab28..0e413c0eed 100644 --- a/test/dm/tpm.c +++ b/test/dm/tpm.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/usb.c b/test/dm/usb.c index 7671ef156d..9a571938b8 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Google, Inc */ -#include #include #include #include diff --git a/test/dm/video.c b/test/dm/video.c index d907f68160..7dfbeb9555 100644 --- a/test/dm/video.c +++ b/test/dm/video.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/dm/virtio.c b/test/dm/virtio.c index 3e108cdc35..3efd7c74f4 100644 --- a/test/dm/virtio.c +++ b/test/dm/virtio.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, Bin Meng */ -#include #include #include #include diff --git a/test/dm/virtio_device.c b/test/dm/virtio_device.c index fdda4da417..63dc53415b 100644 --- a/test/dm/virtio_device.c +++ b/test/dm/virtio_device.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, Bin Meng */ -#include #include #include #include diff --git a/test/dm/virtio_rng.c b/test/dm/virtio_rng.c index 8b9a04b1fd..ab7d862d79 100644 --- a/test/dm/virtio_rng.c +++ b/test/dm/virtio_rng.c @@ -4,7 +4,6 @@ * Written by Andrew Scull */ -#include #include #include #include diff --git a/test/dm/wdt.c b/test/dm/wdt.c index 2bbebcdbf2..1df2da23c6 100644 --- a/test/dm/wdt.c +++ b/test/dm/wdt.c @@ -3,9 +3,9 @@ * Copyright 2017 Google, Inc */ -#include #include #include +#include #include #include #include diff --git a/test/env/attr.c b/test/env/attr.c index 8d5c0f1c3d..de5d5d4ee2 100644 --- a/test/env/attr.c +++ b/test/env/attr.c @@ -4,7 +4,6 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include #include #include #include diff --git a/test/env/cmd_ut_env.c b/test/env/cmd_ut_env.c index d65a32179c..13e0998341 100644 --- a/test/env/cmd_ut_env.c +++ b/test/env/cmd_ut_env.c @@ -4,7 +4,6 @@ * Joe Hershberger, National Instruments, joe.hershberger@ni.com */ -#include #include #include #include diff --git a/test/env/fdt.c b/test/env/fdt.c index 30bfa88c35..c495ac7b30 100644 --- a/test/env/fdt.c +++ b/test/env/fdt.c @@ -1,4 +1,3 @@ -#include #include #include #include diff --git a/test/env/hashtable.c b/test/env/hashtable.c index 70102f9121..ccdf0138c4 100644 --- a/test/env/hashtable.c +++ b/test/env/hashtable.c @@ -4,11 +4,11 @@ * Roman Kapl, SYSGO, rka@sysgo.com */ -#include #include #include #include #include +#include #include #include diff --git a/test/fuzz/cmd_fuzz.c b/test/fuzz/cmd_fuzz.c index d0bc7b8d7b..faa140433f 100644 --- a/test/fuzz/cmd_fuzz.c +++ b/test/fuzz/cmd_fuzz.c @@ -5,7 +5,6 @@ */ #include -#include #include #include #include diff --git a/test/fuzz/virtio.c b/test/fuzz/virtio.c index 8a47667e77..836eb9a2f6 100644 --- a/test/fuzz/virtio.c +++ b/test/fuzz/virtio.c @@ -4,7 +4,6 @@ * Written by Andrew Scull */ -#include #include #include #include diff --git a/test/image/spl_load.c b/test/image/spl_load.c index e1036eff28..7cbad40ea0 100644 --- a/test/image/spl_load.c +++ b/test/image/spl_load.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson */ -#include #include #include #include diff --git a/test/image/spl_load_fs.c b/test/image/spl_load_fs.c index a89189e112..935078bf67 100644 --- a/test/image/spl_load_fs.c +++ b/test/image/spl_load_fs.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson */ -#include #include #include #include diff --git a/test/image/spl_load_net.c b/test/image/spl_load_net.c index 9d067a7a59..4af6e21b8b 100644 --- a/test/image/spl_load_net.c +++ b/test/image/spl_load_net.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson */ -#include #include #include #include diff --git a/test/image/spl_load_nor.c b/test/image/spl_load_nor.c index de5686343b..f53a6724e2 100644 --- a/test/image/spl_load_nor.c +++ b/test/image/spl_load_nor.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson */ -#include #include #include #include diff --git a/test/image/spl_load_os.c b/test/image/spl_load_os.c index 26228a8a4a..7d5fb9b07e 100644 --- a/test/image/spl_load_os.c +++ b/test/image/spl_load_os.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/image/spl_load_spi.c b/test/image/spl_load_spi.c index 54a95465e2..80836dc0df 100644 --- a/test/image/spl_load_spi.c +++ b/test/image/spl_load_spi.c @@ -3,7 +3,6 @@ * Copyright (C) 2023 Sean Anderson */ -#include #include #include #include diff --git a/test/lib/abuf.c b/test/lib/abuf.c index 42803b20e2..7c0481ab61 100644 --- a/test/lib/abuf.c +++ b/test/lib/abuf.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/lib/asn1.c b/test/lib/asn1.c index a66cdd77df..4842b7058a 100644 --- a/test/lib/asn1.c +++ b/test/lib/asn1.c @@ -6,7 +6,6 @@ * Unit test for asn1 compiler and asn1 decoder function via various parsers */ -#include #include #include #include diff --git a/test/lib/cmd_ut_lib.c b/test/lib/cmd_ut_lib.c index f1ac015b2c..f98cb9b3c5 100644 --- a/test/lib/cmd_ut_lib.c +++ b/test/lib/cmd_ut_lib.c @@ -5,7 +5,6 @@ * Unit tests for library functions */ -#include #include #include #include diff --git a/test/lib/efi_device_path.c b/test/lib/efi_device_path.c index 24e2f23c5a..290c8768fa 100644 --- a/test/lib/efi_device_path.c +++ b/test/lib/efi_device_path.c @@ -5,7 +5,6 @@ * Copyright (c) 2020 Heinrich Schuchardt */ -#include #include #include #include diff --git a/test/lib/efi_image_region.c b/test/lib/efi_image_region.c index 0b888f8433..3ca49dc4a2 100644 --- a/test/lib/efi_image_region.c +++ b/test/lib/efi_image_region.c @@ -3,7 +3,6 @@ * (C) Copyright 2020, Heinrich Schuchardt */ -#include #include #include #include diff --git a/test/lib/getopt.c b/test/lib/getopt.c index 3c68b93c8a..388a076200 100644 --- a/test/lib/getopt.c +++ b/test/lib/getopt.c @@ -6,7 +6,6 @@ * posix/tst-getopt-cancel.c */ -#include #include #include #include diff --git a/test/lib/hexdump.c b/test/lib/hexdump.c index 5dccf43886..d531a83039 100644 --- a/test/lib/hexdump.c +++ b/test/lib/hexdump.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include #include #include #include diff --git a/test/lib/kconfig.c b/test/lib/kconfig.c index 3914f69965..0c463bb794 100644 --- a/test/lib/kconfig.c +++ b/test/lib/kconfig.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/lib/kconfig_spl.c b/test/lib/kconfig_spl.c index 8f8a3411b1..3bd8abdf4b 100644 --- a/test/lib/kconfig_spl.c +++ b/test/lib/kconfig_spl.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/lib/lmb.c b/test/lib/lmb.c index 7e4368de22..4b5b6e5e20 100644 --- a/test/lib/lmb.c +++ b/test/lib/lmb.c @@ -3,7 +3,6 @@ * (C) Copyright 2018 Simon Goldschmidt */ -#include #include #include #include diff --git a/test/lib/longjmp.c b/test/lib/longjmp.c index 201367a5a3..79d889bdd5 100644 --- a/test/lib/longjmp.c +++ b/test/lib/longjmp.c @@ -5,7 +5,6 @@ * Copyright (c) 2021, Heinrich Schuchardt */ -#include #include #include #include diff --git a/test/lib/rsa.c b/test/lib/rsa.c index 44f8ade226..40f70010c7 100644 --- a/test/lib/rsa.c +++ b/test/lib/rsa.c @@ -6,7 +6,6 @@ * Unit test for rsa_verify() function */ -#include #include #include #include diff --git a/test/lib/sscanf.c b/test/lib/sscanf.c index 772e4b9204..9fe5521749 100644 --- a/test/lib/sscanf.c +++ b/test/lib/sscanf.c @@ -9,7 +9,6 @@ * Unit tests for sscanf() function */ -#include #include #include #include diff --git a/test/lib/string.c b/test/lib/string.c index 5dcf4d6db0..d08dbca929 100644 --- a/test/lib/string.c +++ b/test/lib/string.c @@ -9,7 +9,6 @@ * This has to be considered in testing. */ -#include #include #include #include diff --git a/test/lib/strlcat.c b/test/lib/strlcat.c index d8453fe78e..d1a0293271 100644 --- a/test/lib/strlcat.c +++ b/test/lib/strlcat.c @@ -6,7 +6,6 @@ * These tests adapted from glibc's string/test-strncat.c */ -#include #include #include #include diff --git a/test/lib/test_aes.c b/test/lib/test_aes.c index cbc712f7ed..cfd9d8ca5a 100644 --- a/test/lib/test_aes.c +++ b/test/lib/test_aes.c @@ -5,7 +5,6 @@ * Unit tests for aes functions */ -#include #include #include #include diff --git a/test/lib/test_crypt.c b/test/lib/test_crypt.c index fb21edf974..dcdadd992c 100644 --- a/test/lib/test_crypt.c +++ b/test/lib/test_crypt.c @@ -5,7 +5,6 @@ * Unit test for crypt-style password hashing */ -#include #include #include #include diff --git a/test/lib/test_errno_str.c b/test/lib/test_errno_str.c index 8a9f1fd980..67f76442b2 100644 --- a/test/lib/test_errno_str.c +++ b/test/lib/test_errno_str.c @@ -9,7 +9,6 @@ * This has to be considered in testing. */ -#include #include #include #include diff --git a/test/lib/test_print.c b/test/lib/test_print.c index 79b67c7793..c7fc50a1de 100644 --- a/test/lib/test_print.c +++ b/test/lib/test_print.c @@ -5,7 +5,6 @@ * Copyright 2020, Heinrich Schuchadt */ -#include #include #include #include diff --git a/test/lib/uuid.c b/test/lib/uuid.c index e24331a136..0914f2c47e 100644 --- a/test/lib/uuid.c +++ b/test/lib/uuid.c @@ -8,7 +8,6 @@ * Abdellatif El Khlifi */ -#include #include #include #include diff --git a/test/log/cont_test.c b/test/log/cont_test.c index de7b7f064c..036d44b9d7 100644 --- a/test/log/cont_test.c +++ b/test/log/cont_test.c @@ -5,7 +5,6 @@ * Test continuation of log messages. */ -#include #include #include #include diff --git a/test/log/log_filter.c b/test/log/log_filter.c index b644b40a85..9cc891dc48 100644 --- a/test/log/log_filter.c +++ b/test/log/log_filter.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Sean Anderson */ -#include #include #include #include diff --git a/test/log/log_test.c b/test/log/log_test.c index c5abff80d1..855353a9c4 100644 --- a/test/log/log_test.c +++ b/test/log/log_test.c @@ -6,7 +6,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/log/log_ut.c b/test/log/log_ut.c index 5aa3a18400..6617ed8b15 100644 --- a/test/log/log_ut.c +++ b/test/log/log_ut.c @@ -5,7 +5,6 @@ * Logging function tests. */ -#include #include #include #include diff --git a/test/log/nolog_ndebug.c b/test/log/nolog_ndebug.c index bd9a4f408e..b714a16d2e 100644 --- a/test/log/nolog_ndebug.c +++ b/test/log/nolog_ndebug.c @@ -5,7 +5,6 @@ * Logging function tests for CONFIG_LOG=n without #define DEBUG */ -#include #include #include #include diff --git a/test/log/nolog_test.c b/test/log/nolog_test.c index 4e52e5bed8..c4c0fa6cf8 100644 --- a/test/log/nolog_test.c +++ b/test/log/nolog_test.c @@ -8,7 +8,6 @@ /* Needed for testing log_debug() */ #define DEBUG 1 -#include #include #include #include diff --git a/test/log/pr_cont_test.c b/test/log/pr_cont_test.c index df4520d280..30f30d98fe 100644 --- a/test/log/pr_cont_test.c +++ b/test/log/pr_cont_test.c @@ -5,7 +5,6 @@ * Test continuation of log messages using pr_cont(). */ -#include #include #include #include diff --git a/test/log/syslog_test.c b/test/log/syslog_test.c index 4db649db82..c4180f775b 100644 --- a/test/log/syslog_test.c +++ b/test/log/syslog_test.c @@ -10,7 +10,6 @@ /* Override CONFIG_LOG_MAX_LEVEL */ #define LOG_DEBUG -#include #include #include #include diff --git a/test/log/syslog_test_ndebug.c b/test/log/syslog_test_ndebug.c index 4438791044..b10e636812 100644 --- a/test/log/syslog_test_ndebug.c +++ b/test/log/syslog_test_ndebug.c @@ -7,7 +7,6 @@ * Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb */ -#include #include #include #include diff --git a/test/optee/cmd_ut_optee.c b/test/optee/cmd_ut_optee.c index c3887ab11d..c6f50e0995 100644 --- a/test/optee/cmd_ut_optee.c +++ b/test/optee/cmd_ut_optee.c @@ -3,7 +3,6 @@ * Copyright (C) 2019, Theobroma Systems Design und Consulting GmbH */ -#include #include #include #include diff --git a/test/overlay/cmd_ut_overlay.c b/test/overlay/cmd_ut_overlay.c index 56a3df1713..bcb29a26e2 100644 --- a/test/overlay/cmd_ut_overlay.c +++ b/test/overlay/cmd_ut_overlay.c @@ -4,7 +4,6 @@ * Copyright (c) 2016 Free Electrons */ -#include #include #include #include diff --git a/test/print_ut.c b/test/print_ut.c index bb844d2542..bded2b6ebe 100644 --- a/test/print_ut.c +++ b/test/print_ut.c @@ -3,7 +3,6 @@ * Copyright (c) 2012, The Chromium Authors */ -#include #include #include #include diff --git a/test/stdint/int-types.c b/test/stdint/int-types.c index f6d09e8643..9051e32c7c 100644 --- a/test/stdint/int-types.c +++ b/test/stdint/int-types.c @@ -1,4 +1,4 @@ -#include +#include int test_types(void) { diff --git a/test/str_ut.c b/test/str_ut.c index fa9328ede5..389779859a 100644 --- a/test/str_ut.c +++ b/test/str_ut.c @@ -3,7 +3,6 @@ * Copyright 2020 Google LLC */ -#include #include #include #include diff --git a/test/test-main.c b/test/test-main.c index b7015d9f38..3fa6f6e32e 100644 --- a/test/test-main.c +++ b/test/test-main.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/time_ut.c b/test/time_ut.c index 80b82dbfd8..149c4b58f4 100644 --- a/test/time_ut.c +++ b/test/time_ut.c @@ -4,7 +4,6 @@ * Written by Simon Glass */ -#include #include #include #include diff --git a/test/unicode_ut.c b/test/unicode_ut.c index 47c3f52774..13e29c9b9e 100644 --- a/test/unicode_ut.c +++ b/test/unicode_ut.c @@ -5,7 +5,6 @@ * Copyright (c) 2018 Heinrich Schuchardt */ -#include #include #include #include diff --git a/test/ut.c b/test/ut.c index 628e9dc980..ae99831ac8 100644 --- a/test/ut.c +++ b/test/ut.c @@ -5,7 +5,6 @@ * Copyright (c) 2013 Google, Inc */ -#include #include #include #ifdef CONFIG_SANDBOX -- 2.39.5