From: Axel Lin Date: Fri, 27 Jan 2012 04:55:28 +0000 (+0800) Subject: regulator: Add empty devm_regulator_bulk_get for !CONFIG_REGULATOR X-Git-Tag: v3.4-rc1~168^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e24abd6ec6c2dabccb825dc41d1725bc496b3a54;p=pandora-kernel.git regulator: Add empty devm_regulator_bulk_get for !CONFIG_REGULATOR This fixes below build error if CONFIG_REGULATOR is disabled. CC sound/soc/codecs/wm5100.o sound/soc/codecs/wm5100.c: In function ‘wm5100_i2c_probe’: sound/soc/codecs/wm5100.c:2462: error: implicit declaration of function ‘devm_regulator_bulk_get’ make[3]: *** [sound/soc/codecs/wm5100.o] Error 1 make[2]: *** [sound/soc/codecs] Error 2 make[1]: *** [sound/soc] Error 2 make: *** [sound] Error 2 Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed