From: Anand Gadiyar Date: Mon, 11 Oct 2010 16:35:55 +0000 (+0530) Subject: regulator: fix build when CONFIG_REGULATOR_DUMMY=n X-Git-Tag: v2.6.37-rc1~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ee10ab42c76f36eea1bd6f7a35da387635ebf9;p=pandora-kernel.git regulator: fix build when CONFIG_REGULATOR_DUMMY=n Commit f03f91826 (regulator: Add option for machine drivers to enable the dummy regulator) in the regulators tree seems to have introduced the following build break when CONFIG_REGULATOR_DUMMY is disabled. Fix this. CC drivers/regulator/dummy.o drivers/regulator/dummy.c:41: error: redefinition of 'regulator_dummy_init' drivers/regulator/dummy.h:28: note: previous definition of 'regulator_dummy_init' was here make[2]: *** [drivers/regulator/dummy.o] Error 1 make[1]: *** [drivers/regulator] Error 2 make: *** [drivers] Error 2 Signed-off-by: Anand Gadiyar Cc: Liam Girdwood Cc: Mark Brown Acked-by: Randy Dunlap Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed