treewide: Remove duplicate incudes
Subsystems (24)
PATCH 1/1 treewide: Remove duplicate incudes
Fix warning fwterated by checkincludes.pl:./net/nfs.c: libgen.h is included more than once../net/ifup.c: globalvar.h is included more than once. ./crypto/rsa.c: asm/types.h is included more than once. ./lib/decompress_unlz4.c: linux/decompress/mm.h is included more than once. ./scripts/stb_image.h: stdio.h is included more than once. ./scripts/kwbimage.c: unistd.h is included more than once. ./scripts/common.c: sys/types.h is included more than once. ./scripts/bareboximd.c: sys/types.h is included more than once. ./scripts/bareboximd.c: sys/mman.h is included more than once. ./fs/pstore/ram_core.c: linux/rslib.h is included more than once. ./fs/pstore/fs.c: fs.h is included more than once. ./fs/pstore/fs.c: linux/pstore.h is included more than once. ./fs/nfs.c: fs.h is included more than once../fs/uimagefs.c: fs.h is included more than once../fs/fs.c: command.h is included more than once. ./arch/sandbox/board/hostfile.c: linux/err.h is included more than once. ./arch/sandbox/board/devices.c: mach/linux.h is included more than once. ./arch/sandbox/os/common.c: signal.h is included more than once. ./arch/arm/boards/zii-imx51-rdu1/board.c: envfs.h is included more than once. ./arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c: generated/mach-types.h is ./arch/arm/mach-stm32mp/ddrctrl.c: mach/stm32.h is included more than once. ./arch/arm/mach-imx/cpu_init.c: common.h is included more than once. ./arch/arm/mach-imx/imx8m.c: mach/imx8m-ccm-regs.h is included more than once. ./common/efi/payload/init.c: efi.h is included more than once. ./common/state/backend_format_raw.c: common.h is included more than once. ./common/state/backend_format_raw.c: crc.h is included more than once. ./common/hush.c: libbb.h is included more than once. ./drivers/spi/atmel-quadspi.c: linux/clk.h is included more than once. ./drivers/spi/atmel-quadspi.c: linux/err.h is included more than once. ./drivers/net/virtio.c: net.h is included more than once. ./drivers/net/phy/phy.c: linux/phy.h is included more than once. ./drivers/net/cpsw.c: net.h is included more than once. ./drivers/virtio/virtio_pci_common.h: linux/list.h is included more than once. ./drivers/usb/host/ohci-hcd.c: dma.h is included more than once. ./drivers/usb/gadget/fsl_udc.c: dma.h is included more than once. ./drivers/nvmem/eeprom_93xx46.c: spi/spi.h is included more than once. ./drivers/nvmem/eeprom_93xx46.c: of.h is included more than once. ./drivers/video/imx-ipu-v3/imx-ldb.c: linux/clk.h is included more than once. ./drivers/video/imx-ipu-v3/imx-hdmi.c: linux/clk.h is included more than once. ./drivers/video/omap.c: common.h is included more than once. ./drivers/mtd/nand/nand_s3c24xx.c: asm/sections.h is included more than once. ./drivers/clk/imx/clk-imx6sx.c: linux/clk.h is included more than once. ./drivers/clk/imx/clk-imx6sl.c: linux/clk.h is included more than once. ./commands/bootm.c: of.h is included more than once.
--- arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 1 - arch/arm/boards/zii-imx51-rdu1/board.c | 2 -- arch/arm/mach-imx/cpu_init.c | 1 - arch/arm/mach-imx/imx8m.c | 1 - arch/arm/mach-stm32mp/ddrctrl.c | 1 - arch/sandbox/board/devices.c | 1 - arch/sandbox/board/hostfile.c | 2 -- arch/sandbox/os/common.c | 1 - commands/bootm.c | 1 - common/efi/payload/init.c | 1 - common/hush.c | 1 - common/state/backend_format_raw.c | 2 -- crypto/rsa.c | 1 - drivers/clk/imx/clk-imx6sl.c | 1 - drivers/clk/imx/clk-imx6sx.c | 1 - drivers/mtd/nand/nand_s3c24xx.c | 2 -- drivers/net/cpsw.c | 1 - drivers/net/phy/phy.c | 1 - drivers/net/virtio.c | 1 - drivers/nvmem/eeprom_93xx46.c | 2 -- drivers/spi/atmel-quadspi.c | 2 -- drivers/usb/gadget/fsl_udc.c | 1 - drivers/usb/host/ohci-hcd.c | 1 - drivers/video/imx-ipu-v3/imx-hdmi.c | 1 - drivers/video/imx-ipu-v3/imx-ldb.c | 1 - drivers/video/omap.c | 1 - drivers/virtio/virtio_pci_common.h | 1 - fs/fs.c | 1 - fs/nfs.c | 1 - fs/pstore/fs.c | 2 -- fs/pstore/ram_core.c | 1 - fs/uimagefs.c | 1 - lib/decompress_unlz4.c | 1 - net/ifup.c | 1 - net/nfs.c | 1 - scripts/bareboximd.c | 2 -- scripts/common.c | 1 - scripts/kwbimage.c | 1 - scripts/stb_image.h | 4 ---- 39 files changed, 50 deletions(-)
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c +0 -1
@@ -25,7 +25,6 @@#include <mach/clock.h> #include <mach/mci.h> #include <mach/iomux.h> -#include <generated/mach-types.h> static struct mxs_mci_platform_data mci_pdata = { .caps =MMC_CAP_4_BIT_DATA |MMC_CAP_SD_HIGHSPEED |MMC_CAP_MMC_HIGHSPEED ,
arch/arm/boards/zii-imx51-rdu1/board.c +0 -2
@@ -27,8 +27,6 @@#include <linux/sizes.h> #include <linux/nvmem-consumer.h> -#include <envfs.h> -static int zii_rdu1_init (void ) {const char *hostname;
arch/arm/mach-imx/cpu_init.c +0 -1
@@ -10,7 +10,6 @@#include <mach/imx7-regs.h> #include <mach/imx8mq-regs.h> #include <mach/imx8m-ccm-regs.h> -#include <common.h> #include <io.h> #include <asm/syscounter.h> #include <asm/system.h>
arch/arm/mach-imx/imx8m.c +0 -1
@@ -13,7 +13,6 @@#include <mach/ocotp.h> #include <mach/imx8mp-regs.h> #include <mach/imx8mq-regs.h> -#include <mach/imx8m-ccm-regs.h> #include <soc/imx8m/clk-early.h> #include <linux/iopoll.h>
arch/arm/mach-stm32mp/ddrctrl.c +0 -1
@@ -5,7 +5,6 @@#include <common.h> #include <init.h> -#include <mach/stm32.h> #include <mach/ddr_regs.h> #include <mach/entry.h> #include <mach/stm32.h>
arch/sandbox/board/devices.c +0 -1
@@ -6,7 +6,6 @@#include <common.h> #include <driver.h> -#include <mach/linux.h> #include <init.h> #include <mach/linux.h> #include <asm/io.h>
arch/sandbox/board/hostfile.c +0 -2
@@ -26,8 +26,6 @@#include <mach/hostfile.h> #include <xfuncs.h> -#include <linux/err.h> - struct hf_priv { union { struct block_device blk;
arch/sandbox/os/common.c +0 -1
@@ -40,7 +40,6 @@#include <sys/ioctl.h> #include <linux/fs.h> #include <sys/time.h> -#include <signal.h> /* * ...except the ones needed to connect with barebox */
commands/bootm.c +0 -1
@@ -17,7 +17,6 @@#include <fs.h> #include <errno.h> #include <bootm.h> -#include <of.h> #include <rtc.h> #include <init.h> #include <of.h>
common/efi/payload/init.c +0 -1
@@ -31,7 +31,6 @@#include <binfmt.h> #include <wchar.h> #include <envfs.h> -#include <efi.h> #include <efi/efi-payload.h> #include <efi/efi-device.h> #include <libfile.h>
common/hush.c +0 -1
@@ -112,7 +112,6 @@#include <slice.h> #include <getopt.h> #include <libfile.h> -#include <libbb.h> #include <magicvar.h> #include <linux/list.h> #include <binfmt.h>
common/state/backend_format_raw.c +0 -2
@@ -15,7 +15,6 @@* */ -#include <common.h> #include <common.h> #include <crypto/keystore.h> #include <digest.h>
@@ -23,7 +22,6 @@#include <malloc.h> #include <crc.h> #include <of.h> -#include <crc.h> #include "state.h"
crypto/rsa.c +0 -1
@@ -15,7 +15,6 @@#include <asm/byteorder.h> #include <errno.h> #include <rsa.h> -#include <asm/types.h> #include <asm/unaligned.h> #define UINT64_MULT32 (v, multby) (((uint64_t)(v)) * ((uint32_t)(multby)))
drivers/clk/imx/clk-imx6sl.c +0 -1
@@ -7,7 +7,6 @@#include <common.h> #include <init.h> #include <driver.h> -#include <linux/clk.h> #include <io.h> #include <of.h> #include <linux/clkdev.h>
drivers/clk/imx/clk-imx6sx.c +0 -1
@@ -7,7 +7,6 @@#include <common.h> #include <init.h> #include <driver.h> -#include <linux/clk.h> #include <io.h> #include <of.h> #include <linux/clkdev.h>
drivers/mtd/nand/nand_s3c24xx.c +0 -2
@@ -592,8 +592,6 @@ void __nand_boot_init s3c24x0_nand_load_image(void *dest, int size, int page)disable_nand_controller (host); } -#include <asm/sections.h> - void __nand_boot_init nand_boot(void) {void *dest = _text;
drivers/net/cpsw.c +0 -1
@@ -9,7 +9,6 @@#include <command.h> #include <dma.h> -#include <net.h> #include <malloc.h> #include <net.h> #include <linux/phy.h>
drivers/net/phy/phy.c +0 -1
@@ -18,7 +18,6 @@#include <net.h> #include <malloc.h> #include <linux/phy.h> -#include <linux/phy.h> #include <linux/err.h> #define PHY_AN_TIMEOUT 10
drivers/net/virtio.c +0 -1
@@ -9,7 +9,6 @@#include <malloc.h> #include <net.h> #include <init.h> -#include <net.h> #include <linux/virtio.h> #include <linux/virtio_ring.h> #include <uapi/linux/virtio_net.h>
drivers/nvmem/eeprom_93xx46.c +0 -2
@@ -10,8 +10,6 @@#include <driver.h> #include <of.h> #include <spi/spi.h> -#include <of.h> -#include <spi/spi.h> #include <malloc.h> #include <gpio.h> #include <of_gpio.h>
drivers/spi/atmel-quadspi.c +0 -2
@@ -27,8 +27,6 @@#include <linux/clk.h> #include <linux/err.h> -#include <linux/clk.h> -#include <linux/err.h> #include <linux/kernel.h> #include <linux/spi/spi-mem.h> #include <of_device.h>
drivers/usb/gadget/fsl_udc.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only #include <common.h> -#include <dma.h> #include <errno.h> #include <dma.h> #include <init.h>
drivers/usb/host/ohci-hcd.c +0 -1
@@ -27,7 +27,6 @@* to activate workaround for bug #41 or this driver will NOT work! */ #include <common.h> -#include <dma.h> #include <clock.h> #include <dma.h> #include <malloc.h>
drivers/video/imx-ipu-v3/imx-hdmi.c +0 -1
@@ -15,7 +15,6 @@#include <linux/clk.h> #include <linux/err.h> #include <linux/math64.h> -#include <linux/clk.h> #include <i2c/i2c.h> #include <video/media-bus-format.h> #include <video/vpl.h>
drivers/video/imx-ipu-v3/imx-ldb.c +0 -1
@@ -19,7 +19,6 @@#include <linux/clk.h> #include <linux/err.h> #include <linux/math64.h> -#include <linux/clk.h> #include <mach/imx6-regs.h> #include <mach/imx53-regs.h>
drivers/video/omap.c +0 -1
@@ -16,7 +16,6 @@#include <io.h> #include <common.h> #include <malloc.h> -#include <common.h> #include <clock.h> #include <linux/err.h>
drivers/virtio/virtio_pci_common.h +0 -1
@@ -16,7 +16,6 @@* Michael S. Tsirkin <[email protected]> */ -#include <linux/list.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/slab.h>
fs/fs.c +0 -1
@@ -3215,7 +3215,6 @@ static int automount_mount(struct dentry *dentry)/* * Some debug commands, helpful to debug the dcache implementation */ -#include <command.h> static int do_lookup_dentry (int argc,char *argv[]) {
fs/nfs.c +0 -1
@@ -26,7 +26,6 @@#include <errno.h> #include <libgen.h> #include <fcntl.h> -#include <fs.h> #include <init.h> #include <linux/stat.h> #include <linux/err.h>
fs/pstore/fs.c +0 -2
@@ -21,7 +21,6 @@#include <fs.h> #include <errno.h> #include <fcntl.h> -#include <fs.h> #include <malloc.h> #include <init.h> #include <linux/stat.h>
@@ -30,7 +29,6 @@#include <libbb.h> #include <rtc.h> #include <libfile.h> -#include <linux/pstore.h> #include "internal.h" struct list_head allpstore =LIST_HEAD_INIT (allpstore);
fs/pstore/ram_core.c +0 -1
@@ -20,7 +20,6 @@#include <linux/rslib.h> #include <linux/pstore_ram.h> #include <linux/string.h> -#include <linux/rslib.h> #include <stdio.h> #include <malloc.h> #include <memory.h>
fs/uimagefs.c +0 -1
@@ -9,7 +9,6 @@#include <fs.h> #include <errno.h> #include <fcntl.h> -#include <fs.h> #include <malloc.h> #include <init.h> #include <linux/stat.h>
lib/decompress_unlz4.c +0 -1
@@ -10,7 +10,6 @@#ifdef STATIC #define PREBOOT -#include <linux/decompress/mm.h> #include "lz4/lz4_decompress.c" #else #include <linux/decompress/unlz4.h>
net/ifup.c +0 -1
@@ -17,7 +17,6 @@#include <string.h> #include <driver.h> #include <init.h> -#include <globalvar.h> #include <magicvar.h> #include <linux/stat.h>
net/nfs.c +0 -1
@@ -31,7 +31,6 @@#include <malloc.h> #include <libgen.h> #include <fs.h> -#include <libgen.h> #include <fcntl.h> #include <errno.h> #include <progress.h>
scripts/bareboximd.c +0 -2
@@ -4,7 +4,6 @@#include <stdio.h> #include <sys/types.h> #include <stdint.h> -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdlib.h>
@@ -15,7 +14,6 @@#include <stdarg.h> #include <linux/err.h> #include <linux/kernel.h> -#include <sys/mman.h> #include "common.h" #include "common.c"
scripts/common.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later #include <stdio.h> -#include <sys/types.h> #include <stdint.h> #include <sys/types.h> #include <sys/stat.h>
scripts/kwbimage.c +0 -1
@@ -38,7 +38,6 @@#include <fcntl.h> #include <unistd.h> #include <sys/mman.h> -#include <unistd.h> #include <stdlib.h> #include <string.h> #include <libgen.h>
scripts/stb_image.h +0 -4
@@ -561,10 +561,6 @@ STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const ch#include <math.h> // ldexp, pow #endif -#ifndef STBI_NO_STDIO -#include <stdio.h> -#endif -#ifndef STBI_ASSERT #include <assert.h> #define STBI_ASSERT (x) assert(x)
Signature · 7 lines
2.32.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedApplied, thanks
Sascha
Quoted 596 lines · Alexander Shiyan
Fix warning fwterated by checkincludes.pl:
./net/nfs.c:libgen.his included more than once../net/ifup.c:globalvar.his included more than once../crypto/rsa.c:asm/types.his included more than once../lib/decompress_unlz4.c:linux/decompress/mm.his included more than once../scripts/stb_image.h:stdio.his included more than once../scripts/kwbimage.c:unistd.his included more than once../scripts/common.c:sys/types.his included more than once../scripts/bareboximd.c:sys/types.his included more than once../scripts/bareboximd.c:sys/mman.his included more than once../fs/pstore/ram_core.c:linux/rslib.his included more than once../fs/pstore/fs.c:fs.his included more than once../fs/pstore/fs.c:linux/pstore.his included more than once../fs/nfs.c:fs.his included more than once../fs/uimagefs.c:fs.his included more than once../fs/fs.c:command.his included more than once../arch/sandbox/board/hostfile.c:linux/err.his included more than once../arch/sandbox/board/devices.c:mach/linux.his included more than once../arch/sandbox/os/common.c:signal.his included more than once../arch/arm/boards/zii-imx51-rdu1/board.c:envfs.his included more than once../arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c:generated/mach-types.his./arch/arm/mach-stm32mp/ddrctrl.c:mach/stm32.his included more than once../arch/arm/mach-imx/cpu_init.c:common.his included more than once../arch/arm/mach-imx/imx8m.c:mach/imx8m-ccm-regs.his included more than once../common/efi/payload/init.c:efi.his included more than once../common/state/backend_format_raw.c:common.his included more than once../common/state/backend_format_raw.c:crc.his included more than once../common/hush.c:libbb.his included more than once../drivers/spi/atmel-quadspi.c:linux/clk.his included more than once../drivers/spi/atmel-quadspi.c:linux/err.his included more than once../drivers/net/virtio.c:net.his included more than once../drivers/net/phy/phy.c:linux/phy.his included more than once../drivers/net/cpsw.c:net.his included more than once../drivers/virtio/virtio_pci_common.h:linux/list.his included more than once../drivers/usb/host/ohci-hcd.c:dma.his included more than once../drivers/usb/gadget/fsl_udc.c:dma.his included more than once../drivers/nvmem/eeprom_93xx46.c:spi/spi.his included more than once../drivers/nvmem/eeprom_93xx46.c:of.his included more than once../drivers/video/imx-ipu-v3/imx-ldb.c:linux/clk.his included more than once../drivers/video/imx-ipu-v3/imx-hdmi.c:linux/clk.his included more than once../drivers/video/omap.c:common.his included more than once../drivers/mtd/nand/nand_s3c24xx.c:asm/sections.his included more than once../drivers/clk/imx/clk-imx6sx.c:linux/clk.his included more than once../drivers/clk/imx/clk-imx6sl.c:linux/clk.his included more than once../commands/bootm.c:of.his included more than once.Signed-off-by Alexander Shiyan <[email protected]>--- arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 1 - arch/arm/boards/zii-imx51-rdu1/board.c | 2 -- arch/arm/mach-imx/cpu_init.c | 1 - arch/arm/mach-imx/imx8m.c | 1 - arch/arm/mach-stm32mp/ddrctrl.c | 1 - arch/sandbox/board/devices.c | 1 - arch/sandbox/board/hostfile.c | 2 -- arch/sandbox/os/common.c | 1 - commands/bootm.c | 1 - common/efi/payload/init.c | 1 - common/hush.c | 1 - common/state/backend_format_raw.c | 2 -- crypto/rsa.c | 1 - drivers/clk/imx/clk-imx6sl.c | 1 - drivers/clk/imx/clk-imx6sx.c | 1 - drivers/mtd/nand/nand_s3c24xx.c | 2 -- drivers/net/cpsw.c | 1 - drivers/net/phy/phy.c | 1 - drivers/net/virtio.c | 1 - drivers/nvmem/eeprom_93xx46.c | 2 -- drivers/spi/atmel-quadspi.c | 2 -- drivers/usb/gadget/fsl_udc.c | 1 - drivers/usb/host/ohci-hcd.c | 1 - drivers/video/imx-ipu-v3/imx-hdmi.c | 1 - drivers/video/imx-ipu-v3/imx-ldb.c | 1 - drivers/video/omap.c | 1 - drivers/virtio/virtio_pci_common.h | 1 - fs/fs.c | 1 - fs/nfs.c | 1 - fs/pstore/fs.c | 2 -- fs/pstore/ram_core.c | 1 - fs/uimagefs.c | 1 - lib/decompress_unlz4.c | 1 - net/ifup.c | 1 - net/nfs.c | 1 - scripts/bareboximd.c | 2 -- scripts/common.c | 1 - scripts/kwbimage.c | 1 - scripts/stb_image.h | 4 ---- 39 files changed, 50 deletions(-)arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c +0
-1@@ -25,7 +25,6 @@#include <mach/clock.h> #include <mach/mci.h> #include <mach/iomux.h> -#include <generated/mach-types.h> static struct mxs_mci_platform_data mci_pdata = { .caps =MMC_CAP_4_BIT_DATA |MMC_CAP_SD_HIGHSPEED |MMC_CAP_MMC_HIGHSPEED ,arch/arm/boards/zii-imx51-rdu1/board.c +0
-2@@ -27,8 +27,6 @@#include <linux/sizes.h> #include <linux/nvmem-consumer.h> -#include <envfs.h> -static int zii_rdu1_init (void ) {const char *hostname;arch/arm/mach-imx/cpu_init.c +0
-1@@ -10,7 +10,6 @@#include <mach/imx7-regs.h> #include <mach/imx8mq-regs.h> #include <mach/imx8m-ccm-regs.h> -#include <common.h> #include <io.h> #include <asm/syscounter.h> #include <asm/system.h> arch/arm/mach-imx/imx8m.c +0
-1@@ -13,7 +13,6 @@#include <mach/ocotp.h> #include <mach/imx8mp-regs.h> #include <mach/imx8mq-regs.h> -#include <mach/imx8m-ccm-regs.h> #include <soc/imx8m/clk-early.h> #include <linux/iopoll.h> arch/arm/mach-stm32mp/ddrctrl.c +0
-1@@ -5,7 +5,6 @@#include <common.h> #include <init.h> -#include <mach/stm32.h> #include <mach/ddr_regs.h> #include <mach/entry.h> #include <mach/stm32.h> arch/sandbox/board/devices.c +0
-1@@ -6,7 +6,6 @@#include <common.h> #include <driver.h> -#include <mach/linux.h> #include <init.h> #include <mach/linux.h> #include <asm/io.h> arch/sandbox/board/hostfile.c +0
-2@@ -26,8 +26,6 @@#include <mach/hostfile.h> #include <xfuncs.h> -#include <linux/err.h> - struct hf_priv { union { struct block_device blk;arch/sandbox/os/common.c +0
-1@@ -40,7 +40,6 @@#include <sys/ioctl.h> #include <linux/fs.h> #include <sys/time.h> -#include <signal.h> /* * ...except the ones needed to connect with barebox */ commands/bootm.c +0
-1@@ -17,7 +17,6 @@#include <fs.h> #include <errno.h> #include <bootm.h> -#include <of.h> #include <rtc.h> #include <init.h> #include <of.h> common/efi/payload/init.c +0
-1@@ -31,7 +31,6 @@#include <binfmt.h> #include <wchar.h> #include <envfs.h> -#include <efi.h> #include <efi/efi-payload.h> #include <efi/efi-device.h> #include <libfile.h> common/hush.c +0
-1@@ -112,7 +112,6 @@#include <slice.h> #include <getopt.h> #include <libfile.h> -#include <libbb.h> #include <magicvar.h> #include <linux/list.h> #include <binfmt.h> common/state/backend_format_raw.c +0
-2@@ -15,7 +15,6 @@* */ -#include <common.h> #include <common.h> #include <crypto/keystore.h> #include <digest.h> @@ -23,7 +22,6 @@#include <malloc.h> #include <crc.h> #include <of.h> -#include <crc.h> #include "state.h" crypto/rsa.c +0
-1@@ -15,7 +15,6 @@#include <asm/byteorder.h> #include <errno.h> #include <rsa.h> -#include <asm/types.h> #include <asm/unaligned.h> #define UINT64_MULT32 (v, multby) (((uint64_t)(v)) * ((uint32_t)(multby)))drivers/clk/imx/clk-imx6sl.c +0
-1@@ -7,7 +7,6 @@#include <common.h> #include <init.h> #include <driver.h> -#include <linux/clk.h> #include <io.h> #include <of.h> #include <linux/clkdev.h> drivers/clk/imx/clk-imx6sx.c +0
-1@@ -7,7 +7,6 @@#include <common.h> #include <init.h> #include <driver.h> -#include <linux/clk.h> #include <io.h> #include <of.h> #include <linux/clkdev.h> drivers/mtd/nand/nand_s3c24xx.c +0
-2@@ -592,8 +592,6 @@ void __nand_boot_init s3c24x0_nand_load_image(void *dest, int size, int page)disable_nand_controller (host); } -#include <asm/sections.h> - void __nand_boot_init nand_boot(void) {void *dest = _text;drivers/net/cpsw.c +0
-1@@ -9,7 +9,6 @@#include <command.h> #include <dma.h> -#include <net.h> #include <malloc.h> #include <net.h> #include <linux/phy.h> drivers/net/phy/phy.c +0
-1@@ -18,7 +18,6 @@#include <net.h> #include <malloc.h> #include <linux/phy.h> -#include <linux/phy.h> #include <linux/err.h> #define PHY_AN_TIMEOUT 10drivers/net/virtio.c +0
-1@@ -9,7 +9,6 @@#include <malloc.h> #include <net.h> #include <init.h> -#include <net.h> #include <linux/virtio.h> #include <linux/virtio_ring.h> #include <uapi/linux/virtio_net.h> drivers/nvmem/eeprom_93xx46.c +0
-2@@ -10,8 +10,6 @@#include <driver.h> #include <of.h> #include <spi/spi.h> -#include <of.h> -#include <spi/spi.h> #include <malloc.h> #include <gpio.h> #include <of_gpio.h> drivers/spi/atmel-quadspi.c +0
-2@@ -27,8 +27,6 @@#include <linux/clk.h> #include <linux/err.h> -#include <linux/clk.h> -#include <linux/err.h> #include <linux/kernel.h> #include <linux/spi/spi-mem.h> #include <of_device.h> drivers/usb/gadget/fsl_udc.c +0
-1@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only #include <common.h> -#include <dma.h> #include <errno.h> #include <dma.h> #include <init.h> drivers/usb/host/ohci-hcd.c +0
-1@@ -27,7 +27,6 @@* to activate workaround for bug #41 or this driver will NOT work! */ #include <common.h> -#include <dma.h> #include <clock.h> #include <dma.h> #include <malloc.h> drivers/video/imx-ipu-v3/imx-hdmi.c +0
-1@@ -15,7 +15,6 @@#include <linux/clk.h> #include <linux/err.h> #include <linux/math64.h> -#include <linux/clk.h> #include <i2c/i2c.h> #include <video/media-bus-format.h> #include <video/vpl.h> drivers/video/imx-ipu-v3/imx-ldb.c +0
-1@@ -19,7 +19,6 @@#include <linux/clk.h> #include <linux/err.h> #include <linux/math64.h> -#include <linux/clk.h> #include <mach/imx6-regs.h> #include <mach/imx53-regs.h> drivers/video/omap.c +0
-1@@ -16,7 +16,6 @@#include <io.h> #include <common.h> #include <malloc.h> -#include <common.h> #include <clock.h> #include <linux/err.h> drivers/virtio/virtio_pci_common.h +0
-1@@ -16,7 +16,6 @@* Michael S. Tsirkin <[email protected]> */ -#include <linux/list.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/slab.h> fs/fs.c +0
-1@@ -3215,7 +3215,6 @@ static int automount_mount(struct dentry *dentry)/* * Some debug commands, helpful to debug the dcache implementation */ -#include <command.h> static int do_lookup_dentry (int argc,char *argv[]) {fs/nfs.c +0
-1@@ -26,7 +26,6 @@#include <errno.h> #include <libgen.h> #include <fcntl.h> -#include <fs.h> #include <init.h> #include <linux/stat.h> #include <linux/err.h> fs/pstore/fs.c +0
-2@@ -21,7 +21,6 @@#include <fs.h> #include <errno.h> #include <fcntl.h> -#include <fs.h> #include <malloc.h> #include <init.h> #include <linux/stat.h> @@ -30,7 +29,6 @@#include <libbb.h> #include <rtc.h> #include <libfile.h> -#include <linux/pstore.h> #include "internal.h" struct list_head allpstore =LIST_HEAD_INIT (allpstore);fs/pstore/ram_core.c +0
-1@@ -20,7 +20,6 @@#include <linux/rslib.h> #include <linux/pstore_ram.h> #include <linux/string.h> -#include <linux/rslib.h> #include <stdio.h> #include <malloc.h> #include <memory.h> fs/uimagefs.c +0
-1@@ -9,7 +9,6 @@#include <fs.h> #include <errno.h> #include <fcntl.h> -#include <fs.h> #include <malloc.h> #include <init.h> #include <linux/stat.h> lib/decompress_unlz4.c +0
-1@@ -10,7 +10,6 @@#ifdef STATIC #define PREBOOT -#include <linux/decompress/mm.h> #include "lz4/lz4_decompress.c" #else #include <linux/decompress/unlz4.h> net/ifup.c +0
-1@@ -17,7 +17,6 @@#include <string.h> #include <driver.h> #include <init.h> -#include <globalvar.h> #include <magicvar.h> #include <linux/stat.h> net/nfs.c +0
-1@@ -31,7 +31,6 @@#include <malloc.h> #include <libgen.h> #include <fs.h> -#include <libgen.h> #include <fcntl.h> #include <errno.h> #include <progress.h> scripts/bareboximd.c +0
-2@@ -4,7 +4,6 @@#include <stdio.h> #include <sys/types.h> #include <stdint.h> -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdlib.h> @@ -15,7 +14,6 @@#include <stdarg.h> #include <linux/err.h> #include <linux/kernel.h> -#include <sys/mman.h> #include "common.h" #include "common.c" scripts/common.c +0
-1@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later #include <stdio.h> -#include <sys/types.h> #include <stdint.h> #include <sys/types.h> #include <sys/stat.h> scripts/kwbimage.c +0
-1@@ -38,7 +38,6 @@#include <fcntl.h> #include <unistd.h> #include <sys/mman.h> -#include <unistd.h> #include <stdlib.h> #include <string.h> #include <libgen.h> scripts/stb_image.h +0
-4@@ -561,10 +561,6 @@ STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const ch#include <math.h> // ldexp, pow #endif -#ifndef STBI_NO_STDIO -#include <stdio.h> -#endif -#ifndef STBI_ASSERT #include <assert.h> #define STBI_ASSERT (x) assert(x)Signature · 7 lines
2.32.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox