]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm9705: Fix build due to removal of 'runtime' definition
authorFabio Estevam <festevam@gmail.com>
Tue, 10 Apr 2012 22:38:24 +0000 (19:38 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 Apr 2012 10:43:19 +0000 (11:43 +0100)
commiteb2278ee587e448b410cb53a85e6cce2eb47152c
tree0cfdba0f1887efa1b71d0dfca25e4d2f4344e6f7
parent6b77233033718a7ca9a0fc0372df41034f12fab5
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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm9705.c