From: Fabio Estevam Date: Tue, 10 Apr 2012 22:38:24 +0000 (-0300) Subject: ASoC: wm9705: Fix build due to removal of 'runtime' definition X-Git-Tag: v3.5-rc1~118^2~3^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019ec5059b771cc36fb302a61f0eb08a88beb88b;p=pandora-kernel.git ASoC: wm9705: Fix build due to removal of 'runtime' definition sound/soc/codecs/wm9705.c: In function 'ac97_prepare': sound/soc/codecs/wm9705.c:251: error: 'runtime' undeclared (first use in this function) This was caused by commit e6968a (ASoC: codecs: Remove rtd->codec usage from CODEC drivers), which removed the 'struct snd_pcm_runtime *runtime = substream->runtime' definition. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- Reading git-diff-tree failed