diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-06-19 03:40:29 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 15:59:20 -0400 |
commit | 76a77f47123945f6e5a4dd167e54768012ef9669 (patch) | |
tree | dd38641ea0bc9f8602c343b252068b1fed1984b0 /sound/soc/omap | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
ASoC: omap-pcm: Include omap-pcm.h
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>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/omap-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index 8d809f8509c8..f4b05bc23e4b 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <sound/pcm_params.h> | 31 | #include <sound/pcm_params.h> |
32 | #include <sound/dmaengine_pcm.h> | 32 | #include <sound/dmaengine_pcm.h> |
33 | #include <sound/soc.h> | 33 | #include <sound/soc.h> |
34 | #include <sound/omap-pcm.h> | ||
34 | 35 | ||
35 | #ifdef CONFIG_ARCH_OMAP1 | 36 | #ifdef CONFIG_ARCH_OMAP1 |
36 | #define pcm_omap1510() cpu_is_omap1510() | 37 | #define pcm_omap1510() cpu_is_omap1510() |