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/serial | |
parent | f09f1ecbe77863ecefe586ccd6000064b49105a3 (diff) |
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/serial')
-rw-r--r-- | drivers/serial/altera_jtag_uart.c | 1 | ||||
-rw-r--r-- | drivers/serial/altera_uart.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_ar933x.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_bcm283x_mu.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_cortina.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_lpuart.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_meson.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_owl.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_pic32.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_sti_asc.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_stm32.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_stm32.h | 1 | ||||
-rw-r--r-- | drivers/serial/serial_xuartlite.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_zynq.c | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index 86c3de4e45..7a86161a0d 100644 --- a/drivers/serial/altera_jtag_uart.c +++ b/drivers/serial/altera_jtag_uart.c @@ -9,6 +9,7 @@ #include <errno.h> #include <serial.h> #include <asm/io.h> +#include <linux/bitops.h> /* data register */ #define ALTERA_JTAG_RVALID BIT(15) /* Read valid */ diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 436cf2331d..f88a293d56 100644 --- a/drivers/serial/altera_uart.c +++ b/drivers/serial/altera_uart.c @@ -9,6 +9,7 @@ #include <errno.h> #include <serial.h> #include <asm/io.h> +#include <linux/bitops.h> /* status register */ #define ALTERA_UART_TMT BIT(5) /* tx empty */ diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c index 897ea5d6dc..382c3b3d34 100644 --- a/drivers/serial/serial_ar933x.c +++ b/drivers/serial/serial_ar933x.c @@ -13,6 +13,7 @@ #include <asm/addrspace.h> #include <asm/types.h> #include <dm/pinctrl.h> +#include <linux/bitops.h> #include <mach/ar71xx_regs.h> #define AR933X_UART_DATA_REG 0x00 diff --git a/drivers/serial/serial_bcm283x_mu.c b/drivers/serial/serial_bcm283x_mu.c index febb5ceea2..0102b10ed2 100644 --- a/drivers/serial/serial_bcm283x_mu.c +++ b/drivers/serial/serial_bcm283x_mu.c @@ -23,6 +23,7 @@ #include <serial.h> #include <dm/platform_data/serial_bcm283x_mu.h> #include <dm/pinctrl.h> +#include <linux/bitops.h> #include <linux/compiler.h> struct bcm283x_mu_regs { diff --git a/drivers/serial/serial_cortina.c b/drivers/serial/serial_cortina.c index 4f227bfe0a..cc20673efe 100644 --- a/drivers/serial/serial_cortina.c +++ b/drivers/serial/serial_cortina.c @@ -11,6 +11,7 @@ #include <watchdog.h> #include <asm/io.h> #include <serial.h> +#include <linux/bitops.h> #include <linux/compiler.h> /* Register definitions */ diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index 9d7ed5e88a..0c63c41270 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <serial.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> diff --git a/drivers/serial/serial_meson.c b/drivers/serial/serial_meson.c index b3dad77aa2..439057b1b9 100644 --- a/drivers/serial/serial_meson.c +++ b/drivers/serial/serial_meson.c @@ -7,6 +7,7 @@ #include <dm.h> #include <errno.h> #include <fdtdec.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <serial.h> diff --git a/drivers/serial/serial_owl.c b/drivers/serial/serial_owl.c index bb60ca2d9b..2651a45a7f 100644 --- a/drivers/serial/serial_owl.c +++ b/drivers/serial/serial_owl.c @@ -14,6 +14,7 @@ #include <serial.h> #include <asm/io.h> #include <asm/types.h> +#include <linux/bitops.h> /* UART Registers */ #define OWL_UART_CTL (0x0000) diff --git a/drivers/serial/serial_pic32.c b/drivers/serial/serial_pic32.c index bac506ed79..a492063e39 100644 --- a/drivers/serial/serial_pic32.c +++ b/drivers/serial/serial_pic32.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <serial.h> #include <wait_bit.h> +#include <linux/bitops.h> #include <mach/pic32.h> #include <dt-bindings/clock/microchip,clock.h> diff --git a/drivers/serial/serial_sti_asc.c b/drivers/serial/serial_sti_asc.c index 27d3ec9dbc..5fbbfac820 100644 --- a/drivers/serial/serial_sti_asc.c +++ b/drivers/serial/serial_sti_asc.c @@ -11,6 +11,7 @@ #include <log.h> #include <serial.h> #include <asm/io.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index 5c1cf81ae0..e77b90670a 100644 --- a/drivers/serial/serial_stm32.c +++ b/drivers/serial/serial_stm32.c @@ -13,6 +13,7 @@ #include <watchdog.h> #include <asm/io.h> #include <asm/arch/stm32.h> +#include <linux/bitops.h> #include <linux/delay.h> #include "serial_stm32.h" #include <dm/device_compat.h> diff --git a/drivers/serial/serial_stm32.h b/drivers/serial/serial_stm32.h index 7b0c53145e..5737651888 100644 --- a/drivers/serial/serial_stm32.h +++ b/drivers/serial/serial_stm32.h @@ -7,6 +7,7 @@ #ifndef _SERIAL_STM32_ #define _SERIAL_STM32_ +#include <linux/bitops.h> #define CR1_OFFSET(x) (x ? 0x0c : 0x00) #define CR3_OFFSET(x) (x ? 0x14 : 0x08) #define BRR_OFFSET(x) (x ? 0x08 : 0x0c) diff --git a/drivers/serial/serial_xuartlite.c b/drivers/serial/serial_xuartlite.c index 1be777bd3b..f29a9a0b56 100644 --- a/drivers/serial/serial_xuartlite.c +++ b/drivers/serial/serial_xuartlite.c @@ -11,6 +11,7 @@ #include <common.h> #include <dm.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <serial.h> diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index 5f2dcd6d6b..0e71cada1b 100644 --- a/drivers/serial/serial_zynq.c +++ b/drivers/serial/serial_zynq.c @@ -14,6 +14,7 @@ #include <watchdog.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <serial.h> #include <linux/err.h> |