From patchwork Sat Dec 17 03:55:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 131976 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.213.184]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id D98E31007DB for ; Sat, 17 Dec 2011 14:55:45 +1100 (EST) Received: by yenl2 with SMTP id l2sf3640124yen.11 for ; Fri, 16 Dec 2011 19:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:subject:from:to:cc:date :x-mailer:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=43BlyrZzHydoCILsKo4BRYgfPnLGNW1O9+LTHjlQoN0=; b=CDr4Ansx3I95M/S2fwUER68rEZL0wVldQBIKlMzBUjn46yF+7iRf+0b0XWvMzx6pm6 j1h76HdQ66i3zKgmKMcM41AOpC7kRWCMuGGm1BNo2aYUYkZnz+T3qeQZxjWXf55FFqjB XZRCM1DsebjQlMxAN4Lx0GcBowYYb03mgkj9k= Received: by 10.236.161.34 with SMTP id v22mr3985479yhk.9.1324094140262; Fri, 16 Dec 2011 19:55:40 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.101.2.12 with SMTP id e12ls7790482ani.3.gmail; Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received: by 10.236.170.198 with SMTP id p46mr21205058yhl.8.1324094139797; Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received: by 10.236.170.198 with SMTP id p46mr21205051yhl.8.1324094139783; Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received: from mail-yw0-f42.google.com (mail-yw0-f42.google.com [209.85.213.42]) by gmr-mx.google.com with ESMTPS id k7si1555573yhm.1.2011.12.16.19.55.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received-SPF: pass (google.com: domain of axel.lin@gmail.com designates 209.85.213.42 as permitted sender) client-ip=209.85.213.42; Received: by yhmm16 with SMTP id m16so3493894yhm.29 for ; Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received: by 10.236.190.196 with SMTP id e44mr15468275yhn.95.1324094139695; Fri, 16 Dec 2011 19:55:39 -0800 (PST) Received: from [218.172.233.126] (218-172-233-126.dynamic.hinet.net. [218.172.233.126]) by mx.google.com with ESMTPS id q52sm17595369yhh.3.2011.12.16.19.55.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Dec 2011 19:55:38 -0800 (PST) Message-ID: <1324094127.2554.0.camel@phoenix> Subject: [rtc-linux] [PATCH] rtc: Staticise jz4740_rtc_driver From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Lars-Peter Clausen , Alessandro Zummo , rtc-linux@googlegroups.com, Andrew Morton Date: Sat, 17 Dec 2011 11:55:27 +0800 X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 X-Original-Sender: axel.lin@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of axel.lin@gmail.com designates 209.85.213.42 as permitted sender) smtp.mail=axel.lin@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , jz4740_rtc_driver is not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin --- drivers/rtc/rtc-jz4740.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 1481e36..05ab227 100644 --- a/drivers/rtc/rtc-jz4740.c +++ b/drivers/rtc/rtc-jz4740.c @@ -345,7 +345,7 @@ static const struct dev_pm_ops jz4740_pm_ops = { #define JZ4740_RTC_PM_OPS NULL #endif /* CONFIG_PM */ -struct platform_driver jz4740_rtc_driver = { +static struct platform_driver jz4740_rtc_driver = { .probe = jz4740_rtc_probe, .remove = __devexit_p(jz4740_rtc_remove), .driver = {