From patchwork Sat Mar 16 01:03:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 2281271 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2DDC53FC8A for ; Sat, 16 Mar 2013 01:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755031Ab3CPBDd (ORCPT ); Fri, 15 Mar 2013 21:03:33 -0400 Received: from mail1.bemta8.messagelabs.com ([216.82.243.206]:29561 "EHLO mail1.bemta8.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754081Ab3CPBDc (ORCPT ); Fri, 15 Mar 2013 21:03:32 -0400 Received: from [216.82.242.115:52985] by server-14.bemta-8.messagelabs.com id 9F/E1-25169-3E4C3415; Sat, 16 Mar 2013 01:03:31 +0000 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-7.tower-132.messagelabs.com!1363395775!10010705!14 X-Originating-IP: [216.166.12.99] X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16536 invoked from network); 16 Mar 2013 01:03:30 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.99) by server-7.tower-132.messagelabs.com with RC4-SHA encrypted SMTP; 16 Mar 2013 01:03:30 -0000 Received: from etch.local (10.2.3.210) by smtp.collaborationhost.net (10.2.0.100) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 15 Mar 2013 20:03:23 -0500 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH 1/3] backlight: ep93xx_bl: fix section mismatch Date: Fri, 15 Mar 2013 18:03:08 -0700 User-Agent: KMail/1.9.9 CC: , Ryan Mallon , , MIME-Version: 1.0 Content-Disposition: inline Message-ID: <201303151803.08774.hartleys@visionengravers.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Remove the __init tag from ep93xxbl_probe() to fix the section mismatch warning. Signed-off-by: H Hartley Sweeten Cc: Ryan Mallon Cc: Richard Purdie Cc: Florian Tobias Schandinat --- drivers/video/backlight/ep93xx_bl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c index ef3e21e..17b8abb 100644 --- a/drivers/video/backlight/ep93xx_bl.c +++ b/drivers/video/backlight/ep93xx_bl.c @@ -60,7 +60,7 @@ static const struct backlight_ops ep93xxbl_ops = { .get_brightness = ep93xxbl_get_brightness, }; -static int __init ep93xxbl_probe(struct platform_device *dev) +static int ep93xxbl_probe(struct platform_device *dev) { struct ep93xxbl *ep93xxbl; struct backlight_device *bl; @@ -145,7 +145,6 @@ static struct platform_driver ep93xxbl_driver = { .suspend = ep93xxbl_suspend, .resume = ep93xxbl_resume, }; - module_platform_driver(ep93xxbl_driver); MODULE_DESCRIPTION("EP93xx Backlight Driver");