[alsa-devel] [PATCH 1/5] ASoC: fix compile breakage of the sh/siu driver

Guennadi Liakhovetski g.liakhovetski at gmx.de
Fri Sep 17 12:29:46 CEST 2010


The sh/siu ASoC driver doesn't compile because of a function defined static in
the source and extern in a header. Remove the unneeded declaration in the
header.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
---
 sound/soc/sh/siu.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/soc/sh/siu.h b/sound/soc/sh/siu.h
index aa239ff..1c0e1f7 100644
--- a/sound/soc/sh/siu.h
+++ b/sound/soc/sh/siu.h
@@ -182,7 +182,6 @@ static inline u32 siu_read32(u32 __iomem *addr)
 #define SIU_BRRB	(0x10c / sizeof(u32))
 
 extern struct snd_soc_platform_driver siu_platform;
-extern struct snd_soc_dai_driver siu_i2s_dai;
 extern struct siu_info *siu_i2s_data;
 
 int siu_init_port(int port, struct siu_port **port_info, struct snd_card *card);
-- 
1.7.1



More information about the Alsa-devel mailing list