diff options
author | Mark Brown <broonie@kernel.org> | 2015-03-04 20:42:40 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-04 20:42:40 +0000 |
commit | 465de977eeb4f98959caaa480a0323e139d23f3a (patch) | |
tree | 61e8537c3d67a00e5fae7b4bc8d7446e0b0a2d88 /sound/soc | |
parent | 09269e4eefcdfcb8b27b3dd1783a1a7b916c5e17 (diff) | |
parent | 08d0a55c33393e6dc838e37b7a8657c28a6de10d (diff) | |
download | blackbird-obmc-linux-465de977eeb4f98959caaa480a0323e139d23f3a.tar.gz blackbird-obmc-linux-465de977eeb4f98959caaa480a0323e139d23f3a.zip |
Merge remote-tracking branch 'asoc/fix/max98357a' into asoc-linus
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/Kconfig | 2 | ||||
-rw-r--r-- | sound/soc/codecs/max98357a.c | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 064e6c18e109..ea9f0e31f9d4 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -69,7 +69,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_MAX98088 if I2C select SND_SOC_MAX98090 if I2C select SND_SOC_MAX98095 if I2C - select SND_SOC_MAX98357A + select SND_SOC_MAX98357A if GPIOLIB select SND_SOC_MAX9850 if I2C select SND_SOC_MAX9768 if I2C select SND_SOC_MAX9877 if I2C diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c index 1806333ea29e..e9e6efbc21dd 100644 --- a/sound/soc/codecs/max98357a.c +++ b/sound/soc/codecs/max98357a.c @@ -12,9 +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" |