ASoC: omap-pcm: Include omap-pcm.h
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 19 Jun 2014 07:40:29 +0000 (09:40 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 21 Jun 2014 19:59:20 +0000 (20:59 +0100)
omap_pcm_platform_register() is declared in omap-pcm.h and defined in
omap-pcm.c. To make sure that the function signature matches for both omap-pcm.c
should include omap-pcm.h

Fixes the following warning from sparse:
sound/soc/omap/omap-pcm.c:235:5: warning: symbol
'omap_pcm_platform_register' was not declared. Should it be static?

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/omap/omap-pcm.c

index 8d809f8509c8e8867a0ddfb28e46d423dd71c19e..f4b05bc23e4bfb4d27adf8dea4702539c2696609 100644 (file)
@@ -31,6 +31,7 @@
 #include <sound/pcm_params.h>
 #include <sound/dmaengine_pcm.h>
 #include <sound/soc.h>
+#include <sound/omap-pcm.h>
 
 #ifdef CONFIG_ARCH_OMAP1
 #define pcm_omap1510() cpu_is_omap1510()