From patchwork Fri Aug 9 07:14:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2841698 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 64E5ABF546 for ; Fri, 9 Aug 2013 07:15:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F872202DD for ; Fri, 9 Aug 2013 07:15:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB805202C8 for ; Fri, 9 Aug 2013 07:15:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030427Ab3HIHPC (ORCPT ); Fri, 9 Aug 2013 03:15:02 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:28363 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967344Ab3HIHPA (ORCPT ); Fri, 9 Aug 2013 03:15:00 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MR9006MM5FSOD40@mailout4.samsung.com>; Fri, 09 Aug 2013 16:14:52 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id B3.4A.17404.CE694025; Fri, 09 Aug 2013 16:14:52 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-c5-520496eccd46 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 03.44.31505.BE694025; Fri, 09 Aug 2013 16:14:52 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MR90024S5GRIH80@mmp2.samsung.com>; Fri, 09 Aug 2013 16:14:51 +0900 (KST) From: Jingoo Han To: "Rafael J. Wysocki" Cc: Viresh Kumar , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, Guan Xuetao , Jingoo Han Subject: [PATCH] cpufreq: unicore2: Staticize local symbol Date: Fri, 09 Aug 2013 16:14:51 +0900 Message-id: <000701ce94d0$240949e0$6c1bdda0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac6Uz+pbrWdAxizxSGKOfOhuemICOQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMIsWRmVeSWpSXmKPExsVy+t8zfd0301iCDFYeZLV42vSD3eLgjW/s FpcXXmK1+Nx7hNGif2Evk8XGrx4ObB53ru1h83i819Kjb8sqRo9Hi1sYPT5vkgtgjeKySUnN ySxLLdK3S+DKuHd7EmPBfPaKdZc6WBsYe9i6GDk4JARMJE5eMuti5AQyxSQu3FsPFObiEBJY xigxq6+ZBSIBVLN+GiNEYjqjxLLvF6GcX4wSJxpns4JUsQmoSXz5cpgdxBYRUJXY8uQ/O0gR M8ioI0e2gY0SFrCS6Di4EqyBBaioffsLMJtXwFJiy8N+NghbUOLH5Htg9cwCWhLrdx5ngrDl JTavecsMcZKCxI6zrxlBXhAR0JP4vtsBokREYt+Ld2DHSQgcY5f4vGIBO8QuAYlvkw+xQLws K7HpANQYSYmDK26wTGAUm4Vk8ywkm2ch2TwLyYoFjCyrGEVTC5ILipPSiwz1ihNzi0vz0vWS 83M3MUIisHcH4+0D1ocYk4HWT2SWEk3OB0ZwXkm8obGZkYWpiamxkbmlGWnCSuK8ai3WgUIC 6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+zbjXl+0/eFHh2JYr9e3PEzp/1d246balGNRJ0LOmzV9yL/T v8Eqpa7Y6il787fIJCWW4oxEQy3mouJEAAPrVd80AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This local symbol is used only in this file. Fix the following sparse warnings: drivers/cpufreq/unicore2-cpufreq.c:27:5: warning: symbol 'ucv2_verify_speed' was not declared. Should it be static? Signed-off-by: Jingoo Han Acked-by: Viresh Kumar --- 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 12fc904..b225f04 100644 --- a/drivers/cpufreq/unicore2-cpufreq.c +++ b/drivers/cpufreq/unicore2-cpufreq.c @@ -24,7 +24,7 @@ static struct cpufreq_driver ucv2_driver; /* make sure that only the "userspace" governor is run * -- anything else wouldn't make sense on this platform, anyway. */ -int ucv2_verify_speed(struct cpufreq_policy *policy) +static int ucv2_verify_speed(struct cpufreq_policy *policy) { if (policy->cpu) return -EINVAL;