From: Mark Brown Subject: [PATCH 3.3] s3c64xx: Fix mis-cherry pick of VDDINT Date: Wed, 29 Feb 2012 10:53:55 +0000 Message-ID: <1330512835-7153-1-git-send-email-broonie@opensource.wolfsonmicro.com> Return-path: Sender: cpufreq-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dave Jones Cc: cpufreq@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown We don't have any of the other code for VDDINT, including the variable declaration, so don't try to get it as we can't build. Signed-off-by: Mark Brown --- This patch (which has been sent a couple of times already) is needed to fix build breakage in 3.3. drivers/cpufreq/s3c64xx-cpufreq.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c index a5e72cb..6f9490b 100644 --- a/drivers/cpufreq/s3c64xx-cpufreq.c +++ b/drivers/cpufreq/s3c64xx-cpufreq.c @@ -217,13 +217,6 @@ static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy) } else { s3c64xx_cpufreq_config_regulator(); } - - vddint = regulator_get(NULL, "vddint"); - if (IS_ERR(vddint)) { - ret = PTR_ERR(vddint); - pr_err("Failed to obtain VDDINT: %d\n", ret); - vddint = NULL; - } #endif freq = s3c64xx_freq_table; -- 1.7.9.1