ASoC: max98373: usleep_range() needs include/delay.h
authorGrant Grundler <grundler@chromium.org>
Fri, 7 Sep 2018 00:27:28 +0000 (17:27 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 7 Sep 2018 16:04:10 +0000 (17:04 +0100)
commit3004136b90bedc9e254ff659adb7a60299e9495e
tree95ceb752e32f2af78e8ea1cbfaa9f4ffe7d18a5f
parent3b857472f34faa7d11001afa5e158833812c98d7
ASoC: max98373: usleep_range() needs include/delay.h

Commit ca917f9fe1a0fab added use of usleep_range() but not
the corresponding "include <linux/delay.h>". The result is
with Chrome OS won't build because warnings are forced
to be errors:
mnt/host/source/src/third_party/kernel/v4.4/sound/soc/codecs/max98373.c:734:2: error: implicit declaration of function 'usleep_range' [-Werror,-Wimplicit-function-declaration]
        usleep_range(10000, 11000);
        ^

Including delay.h "fixes" this.

Signed-off-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373.c