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 f0945ab2002eab8862647bb111e9e0b7dc236b2f..9119836051a4721abef78468869c07b7bdc409a8 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 296f2eb6c4ef610fba29972d86123fe0425b158a..1e102124f5469f96c58fa84d37c2a9fd5315c291 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 */