Message ID | 4F58857A02000078000770D4@nat28.tlf.novell.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncCAAQu-7h-gQaBHTs-zA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wi0-f184.google.com (mail-wi0-f184.google.com [209.85.212.184]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3A7D3B6EF3 for <incoming@patchwork.ozlabs.org>; Thu, 8 Mar 2012 20:09:20 +1100 (EST) Received: by wibhi18 with SMTP id hi18sf399419wib.11 for <incoming@patchwork.ozlabs.org>; Thu, 08 Mar 2012 01:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:x-mailer:date:from:to:cc :subject: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-disposition; bh=o13n1fLvvvHcFnPA1zsQb2lU5pitItQssLQqOjRLIKs=; b=mln7gkpZihJTVL1f9uZ1e5zdGf1ZO0XVrKohJFtfxF1cT8xe+b7k9YjlZNPihzdD7/ BctXrQFQ6wrDxM3noWVDPictRdujrnEnyTzG1QNxAxVwl1EKnhnIUNHIo70ALIAEPKbA WZ89SGxYM4D+9hpL/eMpOZBrABtTWcKDqZY6Q= Received: by 10.216.137.33 with SMTP id x33mr375060wei.52.1331197755388; Thu, 08 Mar 2012 01:09:15 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.216.199.199 with SMTP id x49ls5506888wen.1.gmail; Thu, 08 Mar 2012 01:09:14 -0800 (PST) Received: by 10.180.83.170 with SMTP id r10mr698162wiy.1.1331197754866; Thu, 08 Mar 2012 01:09:14 -0800 (PST) Received: by 10.180.83.170 with SMTP id r10mr698161wiy.1.1331197754856; Thu, 08 Mar 2012 01:09:14 -0800 (PST) Received: from nat28.tlf.novell.com (nat28.tlf.novell.com. [130.57.49.28]) by gmr-mx.google.com with ESMTPS id ek10si8088793wid.0.2012.03.08.01.09.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 01:09:14 -0800 (PST) Received-SPF: neutral (google.com: 130.57.49.28 is neither permitted nor denied by manual fallback record for domain of JBeulich@suse.com) client-ip=130.57.49.28; Received: from EMEA1-MTA by nat28.tlf.novell.com with Novell_GroupWise; Thu, 08 Mar 2012 09:09:14 +0000 Message-Id: <4F58857A02000078000770D4@nat28.tlf.novell.com> X-Mailer: Novell GroupWise Internet Agent 12.0.0 Date: Thu, 08 Mar 2012 09:10:02 +0000 From: "Jan Beulich" <JBeulich@suse.com> To: <a.zummo@towertech.it> Cc: <rtc-linux@googlegroups.com>,<mjg@redhat.com> Subject: [rtc-linux] rtc-efi: fix section mismatch warning Mime-Version: 1.0 X-Original-Sender: jbeulich@suse.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 130.57.49.28 is neither permitted nor denied by manual fallback record for domain of JBeulich@suse.com) smtp.mail=JBeulich@suse.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline |
--- 3.3-rc6/drivers/rtc/rtc-efi.c +++ 3.3-rc6-efi-rtc-probe/drivers/rtc/rtc-efi.c @@ -213,7 +213,6 @@ static struct platform_driver efi_rtc_dr .name = "rtc-efi", .owner = THIS_MODULE, }, - .probe = efi_rtc_probe, .remove = __exit_p(efi_rtc_remove), };
efi_rtc_init() uses platform_driver_probe(), so there's no need to also set efi_rtc_driver's probe member (as it won't be used anyway). This fixes a modpost section mismatch warning (as efi_rtc_probe() validly is __init). Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Matthew Garrett <mjg@redhat.com> --- drivers/rtc/rtc-efi.c | 1 - 1 file changed, 1 deletion(-)