From patchwork Thu Dec 15 06:50:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 131522 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yw0-f56.google.com (mail-yw0-f56.google.com [209.85.213.56]) (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 32D4B1007D8 for ; Thu, 15 Dec 2011 17:50:44 +1100 (EST) Received: by yhjj51 with SMTP id j51sf2761932yhj.11 for ; Wed, 14 Dec 2011 22:50: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 :content-transfer-encoding; bh=4crVyv/HXR+n/HRgab3Y1F4YFRC86FZnNZ5OMp5iU9s=; b=aUVcS3WZpWg42+uhLlxA7qPvQfEIMYQhRw7FEL3TvcGbrEN+xRRVW8CfMAyi0YDP5c KXbCl5bJzvFlt7IntZVJWJx6JZz9hjkP42MLtcoLxAOp0ViVowRgbKmxV1sSQnQyXWiw 8LvMBZoy2cFiV0s46ZYZ+YzwwDTOzddGX+590= Received: by 10.236.185.67 with SMTP id t43mr639136yhm.0.1323931840512; Wed, 14 Dec 2011 22:50:40 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.101.2.12 with SMTP id e12ls1991377ani.3.gmail; Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received: by 10.236.156.98 with SMTP id l62mr4002264yhk.4.1323931840198; Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received: by 10.236.156.98 with SMTP id l62mr4002263yhk.4.1323931840189; Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received: from mail-yx0-f173.google.com (mail-yx0-f173.google.com [209.85.213.173]) by gmr-mx.google.com with ESMTPS id n75si1373662yhe.3.2011.12.14.22.50.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received-SPF: pass (google.com: domain of axel.lin@gmail.com designates 209.85.213.173 as permitted sender) client-ip=209.85.213.173; Received: by mail-yx0-f173.google.com with SMTP id m6so1349790yen.32 for ; Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received: by 10.236.183.52 with SMTP id p40mr3488149yhm.19.1323931840120; Wed, 14 Dec 2011 22:50:40 -0800 (PST) Received: from [218.172.233.70] (218-172-233-70.dynamic.hinet.net. [218.172.233.70]) by mx.google.com with ESMTPS id o9sm7677666yhk.20.2011.12.14.22.50.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 22:50:39 -0800 (PST) Message-ID: <1323931833.3305.3.camel@phoenix> Subject: [rtc-linux] [PATCH RESEND] rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Alessandro Zummo , rtc-linux@googlegroups.com, Andrew Morton Date: Thu, 15 Dec 2011 14:50:33 +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.173 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: , Signed-off-by: Axel Lin Acked-by: Uwe Kleine-König Acked-by: Jean-Christophe PLAGNIOL-VILLARD --- It was sent on https://lkml.org/lkml/2011/10/5/201. drivers/rtc/rtc-mc13xxx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 9d0c3b4..546f685 100644 --- a/drivers/rtc/rtc-mc13xxx.c +++ b/drivers/rtc/rtc-mc13xxx.c @@ -399,7 +399,7 @@ static int __exit mc13xxx_rtc_remove(struct platform_device *pdev) return 0; } -const struct platform_device_id mc13xxx_rtc_idtable[] = { +static const struct platform_device_id mc13xxx_rtc_idtable[] = { { .name = "mc13783-rtc", }, {