diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-08-17 18:18:17 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-17 18:31:06 +0400 |
commit | 371e07ec837464375fe4d7ef3bd13e13cdfbb458 (patch) | |
tree | f2b2560890e846a1db89fd57513f5900bcf128f1 /sound/soc/davinci/edma-pcm.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-371e07ec837464375fe4d7ef3bd13e13cdfbb458.tar.xz |
ASoC: edma-pcm: Include edma-pcm.h
edma_pcm_platform_register() is declared in edma-pcm.h and defined in
edma-pcm.c. To make sure that the function signature matches for both
edma-pcm.c should include edma-pcm.h
Fixes the following sparse warning:
sound/soc/davinci/edma-pcm.c:48:5: warning: symbol
'edma_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/davinci/edma-pcm.c')
-rw-r--r-- | sound/soc/davinci/edma-pcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/davinci/edma-pcm.c b/sound/soc/davinci/edma-pcm.c index 605e643133db..59e588abe54b 100644 --- a/sound/soc/davinci/edma-pcm.c +++ b/sound/soc/davinci/edma-pcm.c @@ -25,6 +25,8 @@ #include <sound/dmaengine_pcm.h> #include <linux/edma.h> +#include "edma-pcm.h" + static const struct snd_pcm_hardware edma_pcm_hardware = { .info = SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | |