From: Lars-Peter Clausen Date: Tue, 25 Nov 2014 20:41:03 +0000 (+0100) Subject: ASoC: Disable regmap helpers if regmap is disabled X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~20^2~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e874bf5f7647a9fdf14d72dbb376ec95327e3a81;p=pandora-kernel.git ASoC: Disable regmap helpers if regmap is disabled If regmap is disabled there will be no users of the ASoC regmap helpers. Furthermore regmap_exit() will no be defined causing the following compile error: sound/soc/soc-core.c: In function 'snd_soc_component_exit_regmap': sound/soc/soc-core.c:2645:2: error: implicit declaration of function 'regmap_exit' [-Werror=implicit-function-declaration] So disable the helpers if regmap is disabled. Reported-by: kbuild test robot Fixes: 20feb881988c ASoC: Add helper functions for deferred regmap setup") Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed