The header defines regmap_read_poll_timeout, which requires <linux/iopoll.h>, thus include the header. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 9e38fbc12e16..3ba0f852f6eb 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -3,6 +3,7 @@ #define __LINUX_REGMAP_H #include <linux/compiler.h> +#include <linux/iopoll.h> #include <linux/types.h> enum regmap_endian { -- 2.39.2