From patchwork Fri Aug 9 07:11:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2841697 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0E0BF9F295 for ; Fri, 9 Aug 2013 07:11:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0121920300 for ; Fri, 9 Aug 2013 07:11:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0B3D202C8 for ; Fri, 9 Aug 2013 07:11:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030427Ab3HIHLh (ORCPT ); Fri, 9 Aug 2013 03:11:37 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:18598 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030401Ab3HIHLf (ORCPT ); Fri, 9 Aug 2013 03:11:35 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MR90026I5BALNB0@mailout3.samsung.com> for linux-pm@vger.kernel.org; Fri, 09 Aug 2013 16:11:34 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.50]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id DF.79.08825.62694025; Fri, 09 Aug 2013 16:11:34 +0900 (KST) X-AuditID: cbfee68e-b7f276d000002279-b9-52049626b742 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9E.A3.31505.62694025; Fri, 09 Aug 2013 16:11:34 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MR900JHZ5BAJX50@mmp1.samsung.com>; Fri, 09 Aug 2013 16:11:34 +0900 (KST) From: Jingoo Han To: "'Rafael J. Wysocki'" Cc: 'Daniel Lezcano' , linux-pm@vger.kernel.org, Jason Cooper , 'Silviu-Mihai Popescu' , Jingoo Han Subject: [PATCH 2/2] cpuidle: kirkwood: Staticize local symbol Date: Fri, 09 Aug 2013 16:11:34 +0900 Message-id: <000601ce94cf$ae4f0b40$0aed21c0$@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: Ac6Uz2jG0IGPBr8jSJ6xQ/x0BZm/mg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOIsWRmVeSWpSXmKPExsVy+t8zI121aSxBBvtnKFvM+yxr0bjkMovF 5YWXWC0+9x5htOhf2Mtk8fjmIXYHNo+ds+6yezQcOM/icefaHjaPvi2rGD0eLW5h9Pi8SS6A LYrLJiU1J7MstUjfLoEr4/+F5ywFU9kr+t7uZ25gnMrWxcjBISFgInHvs3IXIyeQKSZx4d56 NhBbSGAZo8SedfIwJa3niroYuYDCixgl5pxeyg7h/GKUWHzjIlgDm4CaxJcvh9lBGkQE1CWO nRQBqWEWOMsocWBCNzNIjbCAncTEs8tZQGwWAVWJf4d72EFsXgFLidPTjjBD2IISPybfA6th FtCSWL/zOBOELS+xec1bZohDFSR2nH3NCGKLCOhJHP/RyApRIyKx78U7RpDFEgLX2CWONU9i glgmIPFt8iEWiG9kJTYdgJojKXFwxQ2WCYxis5CsnoVk9Swkq2chWbGAkWUVo2hqQXJBcVJ6 kZFecWJucWleul5yfu4mRkgk9u1gvHnA+hBjMtD6icxSosn5w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ZPNFfc+Fgs8MPfoOfsSoG1x9v ZqhSEJr95nWN6T6N80mh8h9UrCY0HJ4aabOL5fX8L+q+Zd91uUp4og4f65hxXWH77J373wdO vZM3+2pN+CetrWyyNxsPWXZtX1MgtbhKiaU4I9FQi7moOBEArv+5ZTkDAAA= 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/cpuidle/cpuidle-kirkwood.c:73:5: warning: symbol 'kirkwood_cpuidle_remove' was not declared. Should it be static? Signed-off-by: Jingoo Han Acked-by: Jason Cooper --- drivers/cpuidle/cpuidle-kirkwood.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-kirkwood.c b/drivers/cpuidle/cpuidle-kirkwood.c index 521b0a7..3ca3a2e 100644 --- a/drivers/cpuidle/cpuidle-kirkwood.c +++ b/drivers/cpuidle/cpuidle-kirkwood.c @@ -70,7 +70,7 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev) return cpuidle_register(&kirkwood_idle_driver, NULL); } -int kirkwood_cpuidle_remove(struct platform_device *pdev) +static int kirkwood_cpuidle_remove(struct platform_device *pdev) { cpuidle_unregister(&kirkwood_idle_driver); return 0;