From: Arnd Bergmann Date: Wed, 30 Apr 2014 09:06:29 +0000 (+0200) Subject: ASoC: cq93vc: fix cq93vc_get_regmap build error X-Git-Tag: omap-for-v3.16/fixes-against-rc1~21^2~52^2~6^9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8784dd0f46fed4a1f505f871adeefe9bf9fed7f;p=pandora-kernel.git ASoC: cq93vc: fix cq93vc_get_regmap build error 49101a25acd69c "ASoC: cq93vc: Remove the set_cache_io() entirely from ASoC probe" introduced the cq93vc_get_regmap function that has an obvious build error referring to the 'codec' variable that is not declared anywhere" sound/soc/codecs/cq93vc.c: In function 'cq93vc_get_regmap': sound/soc/codecs/cq93vc.c:157:34: error: 'codec' undeclared (first use in this function) struct davinci_vc *davinci_vc = codec->dev->platform_data; ^ This changes the code to compile again, presumably in the way it was intended. Not tested. Signed-off-by: Arnd Bergmann Reviewed-by: Xiubo Li Signed-off-by: Mark Brown --- Reading git-diff-tree failed