From patchwork Mon May 5 04:46:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 29610 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6C68C2055D for ; Mon, 5 May 2014 04:46:23 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id uq10sf6630944igb.5 for ; Sun, 04 May 2014 21:46:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=WUizkT81HoWyu+Ammhzl+xk3bNkJ0thEW1TmEAIP6vw=; b=j2Re20U0DUg2ZI72NeMz7ZPzHz3ZXskfNt4OslGKLfOsZv/9+nNFK4E5/vFmSsY2eo dEUwZ41tar2rDilMNbXbJK1c0nDUC3dwLwUxTW1++RfD78dib3iBGwMQxCCLTcUQ+kBr OLJ7PWDCNU2YODUix0IqYPn94tVioBq61kPxRM24vpRY8i9fcb/OS+HqF+Cy+mUVwLpz TtHiv7YrzX4TLCt3ypxmV1/Jk24dxtxizzpAx9+HlAeHPNLoSwGOSY/jPx/X4z0xL9Gu WHXwR7B11IhF2eE7IZ/ViTbwu6BBk21JMUXdusrWbEW/jR/Gt4+DW/XA6dJk30oIgQoN NxfA== X-Gm-Message-State: ALoCoQlSRZSY58l7gtNxu0HVpMsrBB5VHPjYmE8hC7Bb5glxI0JISNHhP2o250XD4tWR8eVaLec7 X-Received: by 10.182.196.8 with SMTP id ii8mr16484756obc.5.1399265182401; Sun, 04 May 2014 21:46:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.72 with SMTP id s66ls2313492qgs.85.gmail; Sun, 04 May 2014 21:46:22 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr27075964vei.20.1399265182273; Sun, 04 May 2014 21:46:22 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id sc12si1333264veb.25.2014.05.04.21.46.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 May 2014 21:46:22 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ij19so1063414vcb.28 for ; Sun, 04 May 2014 21:46:22 -0700 (PDT) X-Received: by 10.58.122.164 with SMTP id lt4mr26300304veb.2.1399265182189; Sun, 04 May 2014 21:46:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp112171vcb; Sun, 4 May 2014 21:46:21 -0700 (PDT) X-Received: by 10.66.191.39 with SMTP id gv7mr66689258pac.150.1399265181432; Sun, 04 May 2014 21:46:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tb3si7149193pab.178.2014.05.04.21.46.20; Sun, 04 May 2014 21:46:20 -0700 (PDT) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754215AbaEEEqS (ORCPT + 12 others); Mon, 5 May 2014 00:46:18 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:58109 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753309AbaEEEqS (ORCPT ); Mon, 5 May 2014 00:46:18 -0400 Received: by mail-we0-f176.google.com with SMTP id q59so4533073wes.21 for ; Sun, 04 May 2014 21:46:17 -0700 (PDT) X-Received: by 10.180.96.39 with SMTP id dp7mr14031255wib.12.1399265176917; Sun, 04 May 2014 21:46:16 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id b2sm15164424wiz.15.2014.05.04.21.46.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 04 May 2014 21:46:16 -0700 (PDT) From: Viresh Kumar To: stable@vger.kernel.org Cc: linux-pm@vger.kernel.org, gang.chen.5i5j@gmail.com, "Rafael J. Wysocki" Subject: [PATCH] cpufreq: unicore32: fix typo issue for 'clk' Date: Mon, 5 May 2014 10:16:11 +0530 Message-Id: <2320eb8c83ddc1ddc01179797999191eb8707251.1399264941.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Chen Gang Upstream commit id: b4ddad9 cpufreq: unicore32: fix typo issue for 'clk' Need use 'clk' instead of 'mclk', which is the original removed local variable. The related original commit: "652ed95 cpufreq: introduce cpufreq_generic_get() routine" The related error with allmodconfig for unicore32: CC drivers/cpufreq/unicore2-cpufreq.o drivers/cpufreq/unicore2-cpufreq.c: In function ‘ucv2_target’: drivers/cpufreq/unicore2-cpufreq.c:48: error: ‘struct cpufreq_policy’ has no member named ‘mclk’ make[2]: *** [drivers/cpufreq/unicore2-cpufreq.o] Error 1 make[1]: *** [drivers/cpufreq] Error 2 make: *** [drivers] Error 2 Fixes: 652ed95d5fa6 (cpufreq: introduce cpufreq_generic_get() routine) Signed-off-by: Chen Gang Acked-by: Viresh Kumar Cc: 3.14+ # 3.14+ Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/unicore2-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/unicore2-cpufreq.c b/drivers/cpufreq/unicore2-cpufreq.c index 36cc330..99d280d6 100644 --- a/drivers/cpufreq/unicore2-cpufreq.c +++ b/drivers/cpufreq/unicore2-cpufreq.c @@ -45,7 +45,7 @@ static int ucv2_target(struct cpufreq_policy *policy, freqs.new = target_freq; cpufreq_notify_transition(policy, &freqs, CPUFREQ_PRECHANGE); - ret = clk_set_rate(policy->mclk, target_freq * 1000); + ret = clk_set_rate(policy->clk, target_freq * 1000); cpufreq_notify_post_transition(policy, &freqs, ret); return ret;