diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | cd93d625fd751d55c729c78b10f82109d56a5f1d (patch) | |
tree | 158fd30f3d06142f6a99cbae6ed8ccb0f3be567b /drivers/gpio | |
parent | f09f1ecbe77863ecefe586ccd6000064b49105a3 (diff) | |
download | u-boot-cd93d625fd751d55c729c78b10f82109d56a5f1d.tar.gz |
common: Drop linux/bitops.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/atmel_pio4.c | 1 | ||||
-rw-r--r-- | drivers/gpio/bcm6345_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/cortina_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/dwapb_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/gpio-rcar.c | 1 | ||||
-rw-r--r-- | drivers/gpio/gpio-rza1.c | 1 | ||||
-rw-r--r-- | drivers/gpio/hi6220_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/hsdk-creg-gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/mscc_sgpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/mt7621_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/mvebu_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/mxs_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/pca953x_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/pcf8575_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/pic32_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/sh_pfc.c | 1 | ||||
-rw-r--r-- | drivers/gpio/sifive-gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/stm32_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/tegra186_gpio_priv.h | 1 | ||||
-rw-r--r-- | drivers/gpio/zynq_gpio.c | 1 |
20 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpio/atmel_pio4.c b/drivers/gpio/atmel_pio4.c index a3f5e7a2e0a..455944d547a 100644 --- a/drivers/gpio/atmel_pio4.c +++ b/drivers/gpio/atmel_pio4.c @@ -12,6 +12,7 @@ #include <malloc.h> #include <asm/arch/hardware.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <mach/gpio.h> #include <mach/atmel_pio4.h> diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c index 71a978cf407..5da11d988e0 100644 --- a/drivers/gpio/bcm6345_gpio.c +++ b/drivers/gpio/bcm6345_gpio.c @@ -12,6 +12,7 @@ #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/bitops.h> struct bcm6345_gpio_priv { void __iomem *reg_dirout; diff --git a/drivers/gpio/cortina_gpio.c b/drivers/gpio/cortina_gpio.c index c6266b88cbf..055907c1a1d 100644 --- a/drivers/gpio/cortina_gpio.c +++ b/drivers/gpio/cortina_gpio.c @@ -10,6 +10,7 @@ #include <log.h> #include <asm/io.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/compat.h> #include <linux/compiler.h> diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index 7b50a34b3f9..e5e35181940 100644 --- a/drivers/gpio/dwapb_gpio.c +++ b/drivers/gpio/dwapb_gpio.c @@ -19,6 +19,7 @@ #include <dm/root.h> #include <errno.h> #include <reset.h> +#include <linux/bitops.h> #define GPIO_SWPORT_DR(p) (0x00 + (p) * 0xc) #define GPIO_SWPORT_DDR(p) (0x04 + (p) * 0xc) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 9dc4cd60422..c49a041059d 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -12,6 +12,7 @@ #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/bitops.h> #include "../pinctrl/renesas/sh_pfc.h" #define GPIO_IOINTSEL 0x00 /* General IO/Interrupt Switching Register */ diff --git a/drivers/gpio/gpio-rza1.c b/drivers/gpio/gpio-rza1.c index ce2453e2ba6..21a87d645cd 100644 --- a/drivers/gpio/gpio-rza1.c +++ b/drivers/gpio/gpio-rza1.c @@ -9,6 +9,7 @@ #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/bitops.h> #define P(bank) (0x0000 + (bank) * 4) #define PSR(bank) (0x0100 + (bank) * 4) diff --git a/drivers/gpio/hi6220_gpio.c b/drivers/gpio/hi6220_gpio.c index 97a04178917..95de2ae3660 100644 --- a/drivers/gpio/hi6220_gpio.c +++ b/drivers/gpio/hi6220_gpio.c @@ -9,6 +9,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <errno.h> +#include <linux/bitops.h> static int hi6220_gpio_direction_input(struct udevice *dev, unsigned int gpio) { diff --git a/drivers/gpio/hsdk-creg-gpio.c b/drivers/gpio/hsdk-creg-gpio.c index 8eeb3849c2b..d9df804f639 100644 --- a/drivers/gpio/hsdk-creg-gpio.c +++ b/drivers/gpio/hsdk-creg-gpio.c @@ -15,6 +15,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <linux/bitops.h> #include <linux/printk.h> #define DRV_NAME "gpio_creg" diff --git a/drivers/gpio/mscc_sgpio.c b/drivers/gpio/mscc_sgpio.c index 1bbd212b4fb..780d77b2f86 100644 --- a/drivers/gpio/mscc_sgpio.c +++ b/drivers/gpio/mscc_sgpio.c @@ -15,6 +15,7 @@ #include <errno.h> #include <clk.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/err.h> #define MSCC_SGPIOS_PER_BANK 32 diff --git a/drivers/gpio/mt7621_gpio.c b/drivers/gpio/mt7621_gpio.c index 54d313d6f1d..612413e17bc 100644 --- a/drivers/gpio/mt7621_gpio.c +++ b/drivers/gpio/mt7621_gpio.c @@ -12,6 +12,7 @@ #include <errno.h> #include <fdtdec.h> #include <malloc.h> +#include <linux/bitops.h> #include <linux/io.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c index e8b1c5965cb..770cbf6b607 100644 --- a/drivers/gpio/mvebu_gpio.c +++ b/drivers/gpio/mvebu_gpio.c @@ -8,6 +8,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <errno.h> +#include <linux/bitops.h> #define MVEBU_GPIOS_PER_BANK 32 diff --git a/drivers/gpio/mxs_gpio.c b/drivers/gpio/mxs_gpio.c index 3094f1c804a..815339a1560 100644 --- a/drivers/gpio/mxs_gpio.c +++ b/drivers/gpio/mxs_gpio.c @@ -9,6 +9,7 @@ #include <common.h> #include <log.h> #include <malloc.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/iomux.h> diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index d06b834a3bc..fd17d1a5910 100644 --- a/drivers/gpio/pca953x_gpio.c +++ b/drivers/gpio/pca953x_gpio.c @@ -28,6 +28,7 @@ #include <asm/io.h> #include <dm/device_compat.h> #include <dt-bindings/gpio/gpio.h> +#include <linux/bitops.h> #define PCA953X_INPUT 0 #define PCA953X_OUTPUT 1 diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio/pcf8575_gpio.c index 7c790bb64ae..1b9a18fe5dc 100644 --- a/drivers/gpio/pcf8575_gpio.c +++ b/drivers/gpio/pcf8575_gpio.c @@ -28,6 +28,7 @@ #include <i2c.h> #include <log.h> #include <asm-generic/gpio.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/gpio/pic32_gpio.c b/drivers/gpio/pic32_gpio.c index d8789e76078..bb1ad256fac 100644 --- a/drivers/gpio/pic32_gpio.c +++ b/drivers/gpio/pic32_gpio.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <asm/io.h> #include <asm/gpio.h> +#include <linux/bitops.h> #include <linux/compat.h> #include <mach/pic32.h> diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c index 00b806e6a65..0653171af48 100644 --- a/drivers/gpio/sh_pfc.c +++ b/drivers/gpio/sh_pfc.c @@ -15,6 +15,7 @@ #include <asm/bitops.h> #include <asm/io.h> #include <sh_pfc.h> +#include <linux/bitops.h> #include <linux/bug.h> static struct pinmux_info *gpioc; diff --git a/drivers/gpio/sifive-gpio.c b/drivers/gpio/sifive-gpio.c index 76d5a1d34ee..24da3b3c230 100644 --- a/drivers/gpio/sifive-gpio.c +++ b/drivers/gpio/sifive-gpio.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <errno.h> #include <asm/gpio.h> +#include <linux/bitops.h> static int sifive_gpio_probe(struct udevice *dev) { diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index 451724e8389..4f710b6b6af 100644 --- a/drivers/gpio/stm32_gpio.c +++ b/drivers/gpio/stm32_gpio.c @@ -14,6 +14,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <linux/io.h> diff --git a/drivers/gpio/tegra186_gpio_priv.h b/drivers/gpio/tegra186_gpio_priv.h index ac8df27c467..3e686beedc1 100644 --- a/drivers/gpio/tegra186_gpio_priv.h +++ b/drivers/gpio/tegra186_gpio_priv.h @@ -10,6 +10,7 @@ * For each GPIO, there are a set of registers than affect it, all packed * back-to-back. */ +#include <linux/bitops.h> #define TEGRA186_GPIO_ENABLE_CONFIG 0x00 #define TEGRA186_GPIO_ENABLE_CONFIG_ENABLE BIT(0) #define TEGRA186_GPIO_ENABLE_CONFIG_OUT BIT(1) diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c index fe3b2c3b1aa..d0e90b8d633 100644 --- a/drivers/gpio/zynq_gpio.c +++ b/drivers/gpio/zynq_gpio.c @@ -11,6 +11,7 @@ #include <common.h> #include <asm/gpio.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <dm.h> #include <fdtdec.h> |