From: Masahiro Yamada Date: Thu, 13 Oct 2016 10:07:54 +0000 (+0900) Subject: regmap: include from include/linux/regmap.h X-Git-Tag: v4.9-rc4~24^2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=adf08d481b52;p=karo-tx-linux.git regmap: include from include/linux/regmap.h The readx_poll_timeout() macro calls usleep_range(), which is declared in . Make include/linux/regmap.h include , like include/linux/iopoll.h does. Otherwise, users of the macro will see "implicit declaration of function 'usleep_range'" error. Signed-off-by: Masahiro Yamada Signed-off-by: Mark Brown --- diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 9adc7b21903d..e5157e39ff22 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -15,6 +15,7 @@ #include #include +#include #include #include #include