ASoC: Fix S/PDIF build
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 May 2010 12:47:26 +0000 (13:47 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 May 2010 12:47:26 +0000 (13:47 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/spdif_transciever.c
sound/soc/codecs/spdif_transciever.h

index f0945ab..9119836 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
+#include <linux/slab.h>
 #include <sound/soc.h>
 #include <sound/pcm.h>
 #include <sound/initval.h>
index 296f2eb..1e10212 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef CODEC_STUBS_H
 #define CODEC_STUBS_H
 
+extern struct snd_soc_codec_device soc_codec_dev_spdif_dit;
 extern struct snd_soc_dai dit_stub_dai;
 
 #endif /* CODEC_STUBS_H */