From: Viresh Kumar Date: Tue, 27 May 2014 12:07:29 +0000 (+0530) Subject: regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~28^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d660e92a97aac08aa33cd41e00a325066e00f1ef;p=pandora-kernel.git regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR We already have dummy implementation for most of the regulators APIs for !CONFIG_REGULATOR case and were missing it for regulator_set_voltage_time(). Found this issue while compiling cpufreq-cpu0 driver without regulators support in kernel. drivers/cpufreq/cpufreq-cpu0.c: In function ‘cpu0_cpufreq_probe’: drivers/cpufreq/cpufreq-cpu0.c:186:3: error: implicit declaration of function ‘regulator_set_voltage_time’ [-Werror=implicit-function-declaration] Fix this by adding dummy definition for regulator_set_voltage_time(). Signed-off-by: Viresh Kumar Signed-off-by: Mark Brown --- Reading git-diff-tree failed