diff options
Diffstat (limited to 'drivers/adc')
-rw-r--r-- | drivers/adc/adc-uclass.c | 1 | ||||
-rw-r--r-- | drivers/adc/meson-saradc.c | 2 | ||||
-rw-r--r-- | drivers/adc/rockchip-saradc.c | 1 | ||||
-rw-r--r-- | drivers/adc/stm32-adc-core.c | 1 | ||||
-rw-r--r-- | drivers/adc/stm32-adc.c | 2 |
5 files changed, 7 insertions, 0 deletions
diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c index 0a492eba54..d435667258 100644 --- a/drivers/adc/adc-uclass.c +++ b/drivers/adc/adc-uclass.c @@ -12,6 +12,7 @@ #include <dm/device-internal.h> #include <dm/uclass-internal.h> #include <adc.h> +#include <linux/delay.h> #include <power/regulator.h> #define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_platdata) diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index f7c919d3b0..72b0cc4e5b 100644 --- a/drivers/adc/meson-saradc.c +++ b/drivers/adc/meson-saradc.c @@ -14,6 +14,8 @@ #include <regmap.h> #include <errno.h> #include <asm/io.h> +#include <linux/bitops.h> +#include <linux/delay.h> #include <linux/math64.h> #include <linux/bitfield.h> diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c index 850142cce3..561740f63b 100644 --- a/drivers/adc/rockchip-saradc.c +++ b/drivers/adc/rockchip-saradc.c @@ -11,6 +11,7 @@ #include <dm.h> #include <errno.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/err.h> #define SARADC_CTRL_CHN_MASK GENMASK(2, 0) diff --git a/drivers/adc/stm32-adc-core.c b/drivers/adc/stm32-adc-core.c index 2ca0fb4f10..31bbb6f9d6 100644 --- a/drivers/adc/stm32-adc-core.c +++ b/drivers/adc/stm32-adc-core.c @@ -9,6 +9,7 @@ #include <common.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <power/regulator.h> #include "stm32-adc-core.h" diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c index ca1ac3e757..b12f894a9b 100644 --- a/drivers/adc/stm32-adc.c +++ b/drivers/adc/stm32-adc.c @@ -10,6 +10,8 @@ #include <adc.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/bitops.h> +#include <linux/delay.h> #include <linux/iopoll.h> #include "stm32-adc-core.h" |