common: Drop linux/bug.h from common header
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:40:08 +0000 (11:40 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 May 2020 01:19:23 +0000 (21:19 -0400)
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <sjg@chromium.org>
86 files changed:
arch/arm/mach-bcm283x/include/mach/timer.h
arch/arm/mach-imx/cmd_nandbcb.c
arch/arm/mach-tegra/ivc.c
arch/arm/mach-uniphier/boot-device/boot-device.c
arch/mips/lib/cache.c
board/armltd/integrator/pci.c
board/sifive/fu540/fu540.c
cmd/jffs2.c
common/iotrace.c
drivers/clk/clk-divider.c
drivers/clk/clk-hsdk-cgu.c
drivers/clk/clk-uclass.c
drivers/clk/clk_pic32.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/core/of_access.c
drivers/core/of_addr.c
drivers/ddr/fsl/ddr4_dimm_params.c
drivers/gpio/adi_gpio2.c
drivers/gpio/sh_pfc.c
drivers/mmc/bcm2835_sdhost.c
drivers/mmc/sdhci-cadence.c
drivers/mtd/mtdconcat.c
drivers/mtd/mtdcore.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/raw/atmel_nand.c
drivers/mtd/nand/raw/brcmnand/brcmnand.c
drivers/mtd/nand/raw/lpc32xx_nand_slc.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
drivers/mtd/nand/raw/pxa3xx_nand.c
drivers/mtd/nand/raw/tegra_nand.c
drivers/mtd/nand/spi/core.c
drivers/mtd/nand/spi/macronix.c
drivers/mtd/nand/spi/toshiba.c
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/fastmap.c
drivers/mtd/ubi/vtbl.c
drivers/mtd/ubispl/ubispl.c
drivers/net/ep93xx_eth.c
drivers/net/fsl-mc/dpio/qbman_portal.c
drivers/net/fsl-mc/dpio/qbman_private.h
drivers/net/fsl-mc/dpio/qbman_sys.h
drivers/net/fsl_enetc.c
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/pinctrl/pinctrl-sti.c
drivers/pinctrl/renesas/pfc.c
drivers/pinctrl/renesas/sh_pfc.h
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier.h
drivers/smem/msm_smem.c
drivers/spi/renesas_rpc_spi.c
drivers/usb/cdns3/core.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/ep0.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/composite.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/pxa25x_udc.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/musb-new/am35x.c
drivers/usb/musb-new/musb_core.c
drivers/usb/musb-new/musb_gadget.c
drivers/usb/musb-new/musb_host.c
drivers/video/atmel_hlcdfb.c
drivers/virtio/virtio-uclass.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci_legacy.c
drivers/virtio/virtio_pci_modern.c
drivers/virtio/virtio_ring.c
drivers/virtio/virtio_sandbox.c
env/env.c
fs/ubifs/tnc.c
fs/yaffs2/yaffs_mtdif2.c
fs/yaffs2/yportenv.h
include/common.h
include/linux/soc/ti/cppi5.h
include/virtio.h
lib/crypto/asymmetric_type.c
lib/crypto/public_key.c
net/eth_legacy.c

index 01c0ebad64b4e1b9d8dc69ed241363375feced84..5567dbd7f3d2dcd6dfcfb06584f78bae1b1a5f12 100644 (file)
@@ -8,6 +8,7 @@
 
 #ifndef __ASSEMBLY__
 #include <asm/arch/base.h>
+#include <linux/bug.h>
 #endif
 
 #define BCM2835_TIMER_PHYSADDR ({ BUG_ON(!rpi_bcm283x_base); \
index 0ab1b55c2a5a701a47d965d87cb5fd4cc3499e2c..44fc37695db45f6270e30ae03f4ab86c311f7058 100644 (file)
@@ -17,6 +17,7 @@
 #include <malloc.h>
 #include <nand.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 
 #include <asm/io.h>
 #include <jffs2/jffs2.h>
index a448f2df30289b1d400dd20cc4067b0591b096f0..e7c6d787446a82cc23b523534c5e7d4ebce9dd01 100644 (file)
@@ -7,6 +7,7 @@
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <asm/arch-tegra/ivc.h>
+#include <linux/bug.h>
 
 #define TEGRA_IVC_ALIGN 64
 
index 777946970b09ebf2a828ad7469fd3678b6a3ad7d..43b28f8b86e4844fd8f74b296da91d58b459426d 100644 (file)
@@ -8,6 +8,7 @@
 #include <command.h>
 #include <spl.h>
 #include <stdio.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/log2.h>
 
index f05b24bd125309ce03ee6df95bf53338d59f1b07..24f115ebc97bf2a6a2de707f68e9b2b41676d365 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/io.h>
 #include <asm/mipsregs.h>
 #include <asm/system.h>
+#include <linux/bug.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index e3793c1125c3d82d5cf3db8ae4f225fbbfa0bbe1..3ef59932131896c2541c08ff42b0e340b6a000f2 100644 (file)
@@ -24,6 +24,7 @@
 #include <log.h>
 #include <pci.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include "integrator-sc.h"
 #include "pci_v3.h"
 
index d2a1ed0a3ea19ff6b0e91d3b33dd3b81a1636c4f..df57b6ecc22974b276d11505a2097a3efecf9d2f 100644 (file)
@@ -10,6 +10,7 @@
 #include <dm.h>
 #include <env.h>
 #include <init.h>
+#include <linux/bug.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 
index bb4790402e3b4baeade19e95a989ecc6e58233ee..9540988e33e5f06ca242b2f51bf9d572e160a921 100644 (file)
@@ -77,6 +77,7 @@
 #include <image.h>
 #include <malloc.h>
 #include <jffs2/jffs2.h>
+#include <linux/bug.h>
 #include <linux/list.h>
 #include <linux/ctype.h>
 #include <cramfs/cramfs_fs.h>
index 295ee07b72473fc2c8b0ff3ff4ce811953f28a55..7225ee440418c5e4312c966c293ddca737de39e7 100644 (file)
@@ -9,6 +9,7 @@
 #include <mapmem.h>
 #include <time.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include <u-boot/crc.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index d79ae367b8077547d11d8fc926b2d2b969d4e1e3..2a68719eb68a6f0295a5758c77fdb0daa09bc510 100644 (file)
@@ -18,6 +18,7 @@
 #include <dm/uclass.h>
 #include <dm/lists.h>
 #include <dm/device-internal.h>
+#include <linux/bug.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/log2.h>
index b7407203537453547dc360485e71c203f542b8b1..da50a7910d59ee7f262ec1eb5a6b4e00449388d5 100644 (file)
@@ -14,6 +14,7 @@
 #include <div64.h>
 #include <dm.h>
 #include <log.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <asm/arcregs.h>
 
index 276e4fb3365a02d8a9093b0a969a06cf9591fa97..9ffc2243cb5b2dcd759bba52bca834050fb51271 100644 (file)
@@ -16,6 +16,7 @@
 #include <malloc.h>
 #include <dm/devres.h>
 #include <dm/read.h>
+#include <linux/bug.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
 
index 79469c454fe3afe1383a55b6f29f95c772c800da..7ddff2feaf3ec90b244db949829d7cf38fa267ad 100644 (file)
@@ -12,6 +12,7 @@
 #include <wait_bit.h>
 #include <dm/lists.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include <mach/pic32.h>
 #include <dt-bindings/clock/microchip,clock.h>
 
index 9f24050992566728309a7128dad1032454bd680a..c9ec523080d7bea66c34f72a113895227aaa5e60 100644 (file)
@@ -9,6 +9,7 @@
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
 
index 710653be0e32cafecbe2699f43fcd738776fe7cf..922e78f99b8275b812c395ef9968dfb534279baa 100644 (file)
@@ -22,6 +22,7 @@
 #include <common.h>
 #include <log.h>
 #include <malloc.h>
+#include <linux/bug.h>
 #include <linux/libfdt.h>
 #include <dm/of_access.h>
 #include <linux/ctype.h>
index ed8b73e8b376d4848c43d793af41e0ff7499e8c1..ca34d84922b58cef201e9fb17102a5b93ffd6f88 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <log.h>
+#include <linux/bug.h>
 #include <linux/libfdt.h>
 #include <dm/of_access.h>
 #include <dm/of_addr.h>
index 3d5f27ef5873e0f017fd62ddb3bfcfd01ee02482..e2bdc12ef2c44c9af08d38064c5311dafad00144 100644 (file)
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <fsl_ddr_sdram.h>
 #include <log.h>
+#include <linux/bug.h>
 
 #include <fsl_ddr.h>
 
index 9d293b6994ddbfd0e7d851d7505217e6b0320cd8..d0849c85c3bc38f90f355479e12620b6c979b33b 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <asm/gpio.h>
 
index 0b412c2e0c8f04f854fc48e235c2d39e7f8d1c83..00b806e6a656b699bdf8f1ce91fd79b9157ac5c2 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/bitops.h>
 #include <asm/io.h>
 #include <sh_pfc.h>
+#include <linux/bug.h>
 
 static struct pinmux_info *gpioc;
 
index 8cebf99c589dc6db12fe71f3c632bdfa452ebca3..d44799b4af374475c9341b867bc9501f20855ca0 100644 (file)
@@ -37,6 +37,7 @@
 #include <asm/arch/mbox.h>
 #include <asm/unaligned.h>
 #include <dm/device_compat.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
index 2d38c2270e5884ce0441b68cce62ed4f12faa683..86408d57f3031ad63029beb10760d0d8f9e47ac6 100644 (file)
@@ -8,6 +8,7 @@
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitfield.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
 #include <linux/sizes.h>
index 4ac65fd28bbc70506e8416efbfd1665b8ed8aedf..684bc949985b0f7916eb201333697a9860e23800 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/div64.h>
 #else
 #include <div64.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #endif
 
index 2b7de6c03b60e2e19e07593a5a3dc772861679cf..97e88b71784ed9f6daef09c14763b802130e1b6a 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/gfp.h>
 #include <linux/slab.h>
 #else
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <ubi_uboot.h>
 #endif
index 9966cad795532c2b2d0ca8c599afac72b6de1c51..d1f6029b2bf0626c6f50089b301138d0bd90e508 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <linux/compat.h>
 #include <ubi_uboot.h>
index 89e107ffb7d952d2d67029371d079f4bf97c480e..2b39e4195ac0f0f7773398cb0ac1e68a2bf1e4c9 100644 (file)
@@ -16,6 +16,7 @@
 #include <asm/arch/gpio.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 
 #include <malloc.h>
 #include <nand.h>
index 7bdebf586994e50663d2fba07d94c07f1c021fbd..5d77d53a09d5358e45e88a7f44e5f126cbdc5c40 100644 (file)
@@ -19,6 +19,7 @@
 #include <clk.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/ioport.h>
 #include <linux/completion.h>
index bf9f4be6de68f8582898e0d57aae7776591ef782..9cca3c55cc0944a7e84ae936b287947b0aa2e38a 100644 (file)
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <log.h>
 #include <nand.h>
+#include <linux/bug.h>
 #include <linux/mtd/nand_ecc.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index ebc2bea06986398d5e48efbea745aea67e85094c..c9e54eae399fbedbb973b01fea1b757eada91b2e 100644 (file)
@@ -36,6 +36,7 @@
 #include <malloc.h>
 #include <watchdog.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index 531d48ce8981fef9db81069f7ef1ba0e1bac8588..911472e91e1a74a49494999b784f5837f482e3fc 100644 (file)
@@ -61,6 +61,7 @@
 #include <log.h>
 #include <malloc.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/bbm.h>
index 7e3346dfcc2d2b397f9163404f1e8aea4b826ec2..fc5b6275f29de4ef52147ad120469b3db1f2674c 100644 (file)
@@ -12,6 +12,7 @@
 #include <nand.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 3fef20462407e635ad4b145d4850fddd3116d264..b3bdd201c360a1c4201d48d63d946bb3145b3338 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/arch/funcmux.h>
 #include <asm/arch-tegra/clk_rst.h>
 #include <dm/device_compat.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <asm/gpio.h>
 #include <fdtdec.h>
index 397dfa41789813a7c050f4f1f040163bad9a6d58..f76b1239a4af10547b5ec92018ec03c6c938ce52 100644 (file)
@@ -26,6 +26,7 @@
 #include <spi-mem.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/mtd/spinand.h>
 #endif
 
index 67d092be2cf191b649b60c4daa16c1d99bdd769c..215f09acc3718564121b2fab45a1d41821e42c1b 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/device.h>
 #include <linux/kernel.h>
 #endif
+#include <linux/bug.h>
 #include <linux/mtd/spinand.h>
 
 #define SPINAND_MFR_MACRONIX           0xC2
index 77c25398fcc3b1a1264fbd2750fa8766c9d48312..c4beefa61764272adfa9a0a681fa35c4c454a350 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/device.h>
 #include <linux/kernel.h>
 #endif
+#include <linux/bug.h>
 #include <linux/mtd/spinand.h>
 
 #define SPINAND_MFR_TOSHIBA            0x98
index c40ed62959bebedb8c4296c80dcb2bbb8316f44b..e488caa5547b8cc0158efe7e85dd5e17b621f0c9 100644 (file)
@@ -79,6 +79,7 @@
 #include <u-boot/crc.h>
 #else
 #include <div64.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #endif
 
index c19df82747a69284a1a37fdee7a47ba7c69398e1..b54b56375b447b82054cbcb1216b03af3d365850 100644 (file)
@@ -16,6 +16,7 @@
 #include <div64.h>
 #include <malloc.h>
 #include <ubi_uboot.h>
+#include <linux/bug.h>
 #endif
 
 #include <linux/compat.h>
index 636edbb4a3e264330b023f842c2e8a938b0118dc..a2b5352cb2da4d5c4545343fc43c6ce1eda2fd7d 100644 (file)
@@ -55,6 +55,7 @@
 #include <u-boot/crc.h>
 #else
 #include <ubi_uboot.h>
+#include <linux/bug.h>
 #endif
 
 #include <linux/err.h>
index 00102fcf748e6020b5de4ffee687ae9236ea2163..ee2df11522b74f5dba5fb4d0d245ed9dbeef294f 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <errno.h>
+#include <linux/bug.h>
 #include <u-boot/crc.h>
 #include <ubispl.h>
 
index 5aed164247ff5e8b331b3964c2cf913dc5680afc..894ffc9d2bd4d54c2d7c9b7a384309d0ead6e3af 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/io.h>
 #include <malloc.h>
 #include <miiphy.h>
+#include <linux/bug.h>
 #include <linux/types.h>
 #include "ep93xx_eth.h"
 
index 1f77f84990ba9545a00f16c95363e2b44bcb3555..44ce00041ee00241bd22f17db82e32404f5595e0 100644 (file)
@@ -6,6 +6,7 @@
 #include <log.h>
 #include <malloc.h>
 #include <asm/arch/clock.h>
+#include <linux/bug.h>
 #include "qbman_portal.h"
 
 /* QBMan portal management command codes */
index ded11a643ea32d6cd421750cc6b8ac38eba5f9f0..53f1300eaf805636c5519f396d30eb936d365b7a 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <errno.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <asm/atomic.h>
 #include <malloc.h>
index cdced68110666ee9d1a197bc9b87e0e4a942d488..8be38e11a843657799683d72933d0f87fb96f85b 100644 (file)
@@ -20,6 +20,7 @@
 
 /* Trace the 3 different classes of read/write access to QBMan. #undef as
  * required. */
+#include <linux/bug.h>
 #undef QBMAN_CCSR_TRACE
 #undef QBMAN_CINH_TRACE
 #undef QBMAN_CENA_TRACE
index 2a66c2e5f9b37889b96fd62a95334163eb0a4a90..b47b27210ceb7dbfba339b3c5f9f3c5bf17e1b99 100644 (file)
@@ -15,6 +15,7 @@
 #include <asm/io.h>
 #include <pci.h>
 #include <miiphy.h>
+#include <linux/bug.h>
 
 #include "fsl_enetc.h"
 
index 8327fd747b230d1a06872716d0b9d40252a3dcb6..66bfafe2171421169adeb0045758a6f856527eb8 100644 (file)
@@ -14,6 +14,7 @@
 #include <hwconfig.h>
 #include <phy.h>
 #include <miiphy.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <fsl-mc/fsl_dpmac.h>
 
index 5c8c5e6800745b426b09aa31a352f78a4cefc720..f593aa6508e7bdaaeeae9cc5879077a88da9fece 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/io.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <phy.h>
 #include <miiphy.h>
index 1e0db6c8c7a85d71af1d026d48fb063867142068..83914286e8bb6f2063fbaadfdc9d516fb610fb09 100644 (file)
@@ -26,6 +26,7 @@
 #include <config.h>
 #include <malloc.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <phy.h>
index 14fcad5aadb643a04209214f578f8838ac38cc8d..8e942a8280239b5aafb2c57eeb2eace9a3c0cd29 100644 (file)
@@ -14,6 +14,7 @@
 #include <syscon.h>
 #include <asm/io.h>
 #include <dm/pinctrl.h>
+#include <linux/bug.h>
 #include <linux/libfdt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index ab64f4f0c86796080fd19968b74591a88ec968c9..efbff49f9baddf08d62ceb400b9e63879b1a21c0 100644 (file)
@@ -17,6 +17,7 @@
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <dm/pinctrl.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
 
index 1cfb881e586aadb8aa6a78c02baa14078557e528..db3d5133582c927be492e61b6e97c6864f8473bb 100644 (file)
@@ -672,4 +672,5 @@ extern const struct sh_pfc_soc_info r8a77995_pinmux_info;
  */
 #define RCAR_GP_PIN(bank, pin)         (((bank) * 32) + (pin))
 
+#include <linux/bug.h>
 #endif /* __SH_PFC_H */
index abeba965c4996197ec159ec6c0a46ad6c468e24b..25231c10f9c79174e5799366873941ec7d1d22c2 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
index 8f83ecae7dbabcd31a21f6e3f3beedf0544d1707..5951835d6e855eb3ecbe6a03cb15d064853a037f 100644 (file)
@@ -8,6 +8,7 @@
 #define __PINCTRL_UNIPHIER_H__
 
 #include <linux/bitops.h>
+#include <linux/bug.h>
 #include <linux/build_bug.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
index 5557fd29ce6cd5ef3147ad1c601c39243a24e162..2557269bc546f49ad9d24d9328e832f89c1e728e 100644 (file)
@@ -13,6 +13,7 @@
 #include <dm/of_access.h>
 #include <dm/of_addr.h>
 #include <asm/io.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/ioport.h>
 #include <linux/io.h>
index bb2e7748fe44b290b1af657acd22bdac7d5b6ed2..61ae92d603d597033b0fcb8cf2e90acdc54fcf9e 100644 (file)
@@ -12,6 +12,7 @@
 #include <dm/of_access.h>
 #include <dt-structs.h>
 #include <errno.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <spi.h>
 #include <wait_bit.h>
index 82ebd618237393855471c1ee53403c3301ce0d76..ea86a250608be21aecfc18d46f748f7190ba669e 100644 (file)
@@ -18,6 +18,7 @@
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <dm/lists.h>
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/io.h>
 #include <usb.h>
index 0972e458eb02e2c027de88d009e619f1c190b114..f21dd2bad8ae34d989bbf696d57e30794a3347ef 100644 (file)
@@ -19,6 +19,7 @@
 #include <dwc3-uboot.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/dma-mapping.h>
 #include <linux/err.h>
 #include <linux/ioport.h>
index 4af58941d823c9ace8652a0766bb42c3e1b09ec9..385bed3e34c48e180572c1a4e7a479abd0f064a0 100644 (file)
@@ -15,6 +15,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <dm/device_compat.h>
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
 
index 13dec517f62a74ce54418774db0f0656cf68dc4a..1feed417d68ec069d4f988daf2a6d53c4657c34e 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <common.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <asm/io.h>
index 74b8e0c5ddfd41a02c0d5adf068dcb0eb627eacc..91ed7fcec5af57e5506923a8601bbb2e6f2080f6 100644 (file)
@@ -10,6 +10,7 @@
 #include <log.h>
 #include <dm/devres.h>
 #include <linux/bitops.h>
+#include <linux/bug.h>
 #include <linux/usb/composite.h>
 
 #define USB_BUFSIZ     4096
index ec9fc4d3a0244661a511de461519e49da11661a7..32bf92752d4208932b8861ecf2b5e068c6a77b14 100644 (file)
@@ -26,6 +26,7 @@
 #include <reset.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 
 #include <linux/errno.h>
 #include <linux/list.h>
index e3147c98a1cbe6f578824d6f69bc1fa988061735..1c0505eb28c19148f3d0aaa1df6200e83de53865 100644 (file)
@@ -20,6 +20,7 @@
 #include <common.h>
 #include <cpu_func.h>
 #include <log.h>
+#include <linux/bug.h>
 
 static u8 clear_feature_num;
 int clear_feature_flag;
index 1a181bd6c637d820c94ea36f3acf593570aaf869..439a31c2556b38c76486bee632e5412c9608b988 100644 (file)
 #include <console.h>
 #include <g_dnl.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 
 #include <linux/err.h>
 #include <linux/usb/ch9.h>
index bce5aeb3649c3f9ac58841238e4f4734e6026f08..ebf1f4eb553b0da0e22fc8edd6398fdaa9cd40c0 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/mach-types.h>
 #include <asm/unaligned.h>
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <malloc.h>
 #include <asm/io.h>
index c282cf0be33d1d79156c33d70d73fc636efebbc5..2d968aafb03eddb1948ec3308d87df146a98fdf7 100644 (file)
@@ -21,6 +21,7 @@
 #include <usb.h>
 #include <malloc.h>
 #include <asm/cache.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 
 #include <usb/xhci.h>
index b6b7c29b3c952d1a3b98afc044425dc14413d656..86aeaab412e8105da251ea0d6c46e04f99a951c9 100644 (file)
@@ -19,6 +19,7 @@
 #include <asm/byteorder.h>
 #include <usb.h>
 #include <asm/unaligned.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 
 #include <usb/xhci.h>
index c95831cdd845bc098ad1d64a1d7819c6350bdbda..ec57f725d3ff68242abc1fd931db27811b028da7 100644 (file)
@@ -29,6 +29,7 @@
 #include <watchdog.h>
 #include <asm/cache.h>
 #include <asm/unaligned.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <usb/xhci.h>
 
index 6e5be90fe531bd6b8a9df385fb61f13572884a5b..69d6104044fdf69eea604c69ec35b8c85efd6599 100644 (file)
@@ -26,6 +26,7 @@
 #else
 #include <common.h>
 #include <asm/omap_musb.h>
+#include <linux/bug.h>
 #include "linux-compat.h"
 #endif
 
index 63ce8a5655cd815281a738127ba696b48123cd30..8e0e57cae887deefce769c56ce10649188af6ca1 100644 (file)
@@ -81,6 +81,7 @@
 #else
 #include <common.h>
 #include <usb.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
index 435dca6001559e66226d43eb67b003648ba0e167..8ba98d8c0e8804cbd29c80db0bd157b0294e8ad3 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #else
 #include <common.h>
+#include <linux/bug.h>
 #include <linux/usb/ch9.h>
 #include "linux-compat.h"
 #endif
index b98f0ed40ee0ee059294d9070e81d9e9a50fb9e8..5fa013659c5cb6d0bd47ee5056cb7e9a6cb6cd11 100644 (file)
@@ -23,6 +23,7 @@
 #else
 #include <common.h>
 #include <usb.h>
+#include <linux/bug.h>
 #include "linux-compat.h"
 #include "usb-compat.h"
 #endif
index 4ea9dcb59d9b9f7f3052472a99e1691732d87597..35a56a8eab2ec1438603eb966ac7f6c1a2848476 100644 (file)
@@ -20,6 +20,7 @@
 #include <video.h>
 #include <wait_bit.h>
 #include <atmel_hlcdc.h>
+#include <linux/bug.h>
 
 #if defined(CONFIG_LCD_LOGO)
 #include <bmp_logo.h>
index d4ecd16ec84b9a74d23c1258dea94c307099b188..2636cbedfe27d98de1ffe107b12e9431629b144b 100644 (file)
@@ -22,6 +22,7 @@
 #include <virtio_types.h>
 #include <virtio.h>
 #include <dm/lists.h>
+#include <linux/bug.h>
 
 static const char *const virtio_drv_name[VIRTIO_ID_MAX_NUM] = {
        [VIRTIO_ID_NET]         = VIRTIO_NET_DRV_NAME,
index 184c5f0a5971c86e5bd2a062787da3eda51dd87e..b951ea3257b19af9cbfefcd13a795bf986bfda65 100644 (file)
@@ -13,6 +13,7 @@
 #include <virtio_types.h>
 #include <virtio.h>
 #include <virtio_ring.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <linux/io.h>
index 79e62cfb628a55312d4dc8df164bfabba2872568..fa7f2429f1f18d9a850d52e2c9c59314037c3b41 100644 (file)
@@ -13,6 +13,7 @@
 #include <virtio.h>
 #include <virtio_ring.h>
 #include <dm/device.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <linux/io.h>
index 32ce4ea5aea14a8a156c70b5cc5dde543583c9f3..64430f3b196d9afcc6e4806943494be3aff9fc9e 100644 (file)
@@ -13,6 +13,7 @@
 #include <virtio.h>
 #include <virtio_ring.h>
 #include <dm/device.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <linux/io.h>
index 7130b8432a3a3a17a1fef4c6d5449d1159892375..7f1cbc59329ef3b7b14e257ca4eb86b03dea5b72 100644 (file)
@@ -13,6 +13,7 @@
 #include <virtio_types.h>
 #include <virtio.h>
 #include <virtio_ring.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 
 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[],
index 61f6a9600831974709a420c8fb784d1be9379d6f..2a2abb9d499c621ded216a6309cafceb879d5697 100644 (file)
@@ -10,6 +10,7 @@
 #include <virtio_types.h>
 #include <virtio.h>
 #include <virtio_ring.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <linux/io.h>
index 393f1490de9a362698100b7edcf7df4a851f75ba..2084538f28f4cfba6510798b01f390723e4bd234 100644 (file)
--- a/env/env.c
+++ b/env/env.c
@@ -8,6 +8,7 @@
 #include <env.h>
 #include <env_internal.h>
 #include <log.h>
+#include <linux/bug.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 0dc7886ac47ca63b8cd58f916082afc5cbe3a0ad..41c7d5666ff07907c00a9805f4640fe8c289c39c 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/slab.h>
 #include <u-boot/crc.h>
 #else
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #include <linux/stat.h>
index 0d9d5cc4b1939efd7ae61a56be7790686a845669..81a4d964f3e92777ebba6fb2f9213ec74e51f34f 100644 (file)
@@ -15,6 +15,7 @@
 
 /* XXX U-BOOT XXX */
 #include <common.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 
 #include "yportenv.h"
index 251eba07921786010390cbbd6784beecdfe9d918..081391a1d0fe5867e5019cab5725f85db3be2c39 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef __YPORTENV_H__
 #define __YPORTENV_H__
 
+#include <linux/bug.h>
 #include <linux/types.h>
 
 /* Definition of types */
index 976046e62026958f5c77bfb622148008a73e9c49..711d409d47a5468f244e1bc501e331ffc0e3389d 100644 (file)
@@ -17,7 +17,6 @@
 #include <errno.h>
 #include <time.h>
 #include <linux/bitops.h>
-#include <linux/bug.h>
 #include <linux/delay.h>
 #include <linux/types.h>
 #include <linux/printk.h>
index 34038b31f70214029381632eabcf6e2c3707e6eb..cfdf7ea29fc3dd7d3f0142d3d983e2526b6fce89 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <hexdump.h>
 #include <linux/bitops.h>
+#include <linux/bug.h>
 
 /**
  * Descriptor header, present in all types of descriptors
index 561dcc34baf735783e21f793a54b06d20b89046d..46f9efb7321074d81302f55fdc88ea418d73b14e 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef __VIRTIO_H__
 #define __VIRTIO_H__
 
+#include <linux/bug.h>
 #define VIRTIO_ID_NET          1 /* virtio net */
 #define VIRTIO_ID_BLOCK                2 /* virtio block */
 #define VIRTIO_ID_RNG          4 /* virtio rng */
index aac9a1471ac7833e85480bcd7524faeaeb59737c..1d0532d0f2e0581912d626c85aac2647f7b81ece 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 #include <crypto/public_key.h>
 #ifdef __UBOOT__
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/ctype.h>
 #include <linux/err.h>
index 8b4821767aaacdbfa8087c0f8a04e0a893ddc705..e12ebbb3d0c533a169a66aacbfb2b70d23cc4cf2 100644 (file)
@@ -10,6 +10,7 @@
 #define pr_fmt(fmt) "PKEY: "fmt
 #ifdef __UBOOT__
 #include <dm/devres.h>
+#include <linux/bug.h>
 #include <linux/compat.h>
 #include <linux/err.h>
 #else
index 9d40f86ab6082d37367ced57b2a5975c21e466f6..35f8d398a65b43c1f3a1cf2c4419a191b8fb0518 100644 (file)
@@ -12,6 +12,7 @@
 #include <log.h>
 #include <net.h>
 #include <phy.h>
+#include <linux/bug.h>
 #include <linux/errno.h>
 #include <net/pcap.h>
 #include "eth_internal.h"