summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKenneth Westfield <kwestfie@codeaurora.org>2015-02-17 09:53:11 +0100
committerMark Brown <broonie@kernel.org>2015-02-21 10:47:55 +0100
commit08d0a55c33393e6dc838e37b7a8657c28a6de10d (patch)
tree477487106bf8bcfb8d8f9462a5df29f937563a43 /sound
parentASoC: max98357a: Fix missing include (diff)
downloadlinux-08d0a55c33393e6dc838e37b7a8657c28a6de10d.tar.xz
linux-08d0a55c33393e6dc838e37b7a8657c28a6de10d.zip
ASoC: max98357a: Add missing header files
Add missing header files to avoid implicit declarations and indirect inclusions. Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98357a.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index f493fb6fd4ea..e9e6efbc21dd 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -12,10 +12,19 @@
* max98357a.c -- MAX98357A ALSA SoC Codec driver
*/
-#include <linux/module.h>
+#include <linux/device.h>
+#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
+#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/platform_device.h>
+#include <sound/pcm.h>
#include <sound/soc.h>
+#include <sound/soc-dai.h>
+#include <sound/soc-dapm.h>
#define DRV_NAME "max98357a"