diff options
| author | Masahiro Yamada <[email protected]> | 2016-10-13 10:07:54 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2016-10-13 14:44:04 +0000 |
| commit | adf08d481b52824c87af028fc74dc692d179f7f4 (patch) | |
| tree | 65c4e830454c3ae729f2dacffe1338c5401566ca /scripts/gcc-plugins/gcc-common.h | |
| parent | Merge remote-tracking branches 'regmap/topic/core' and 'regmap/topic/debugfs'... (diff) | |
| download | kernel-adf08d481b52824c87af028fc74dc692d179f7f4.tar.gz kernel-adf08d481b52824c87af028fc74dc692d179f7f4.zip | |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
