commit | adf08d481b52824c87af028fc74dc692d179f7f4 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Oct 13 19:07:54 2016 +0900 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 13 16:44:04 2016 +0200 |
tree | 65c4e830454c3ae729f2dacffe1338c5401566ca | |
parent | f785fb2ec0cbe73165333ea1f23cce36c7fc2521 [diff] |
regmap: include <linux/delay.h> from include/linux/regmap.h The readx_poll_timeout() macro calls usleep_range(), which is declared in <linux/delay.h>. Make include/linux/regmap.h include <linux/delay.h>, 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 <yamada.masahiro@socionext.com> Signed-off-by: Mark Brown <broonie@kernel.org>