From patchwork Tue Feb 22 01:52:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 578961 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1M1nbkO007440 for ; Tue, 22 Feb 2011 01:49:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404Ab1BVBtg (ORCPT ); Mon, 21 Feb 2011 20:49:36 -0500 Received: from mail-vx0-f174.google.com ([209.85.220.174]:53762 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343Ab1BVBtf (ORCPT ); Mon, 21 Feb 2011 20:49:35 -0500 Received: by vxi39 with SMTP id 39so1558957vxi.19 for ; Mon, 21 Feb 2011 17:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=qPld/h7pjvdqRPdDMPtrS6Al7/toyHOs/AKr0qKEN4M=; b=lJcza4CaMy+BsDbNpMcc3Z0kYBj2If1nbPl79ihmquagqT8tKvd/p4yJW7NTjSShVW jgp1xCG73JL1CqCKh4XSIpkt2YfG2NL70UMBo55OMa5Aebc4jnoeNOMdFCnp99eB87wn fNY+ZkZib9Iz7VaA+fDQNOG7IwAIwTCSoW8WM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=SL4CiHCAp4DrTkSwXELwOxs0Z50CQI3Ukyyau7TpV2TNoQqXQ+IG97Fy4HkvDHn+0M UPakWsi+zMHCyx4okS/CsWhxaBQF16qI2i12IX0Qe8XHTXyNaIBGc5kow6s9US0zPxfz ED1PzLGaZ88NxvoNKJ0PZJHbOVeZTvW9+efR4= Received: by 10.52.156.233 with SMTP id wh9mr2996227vdb.284.1298339373914; Mon, 21 Feb 2011 17:49:33 -0800 (PST) Received: from [192.168.100.50] (60-251-136-127.HINET-IP.hinet.net [60.251.136.127]) by mx.google.com with ESMTPS id f17sm4190022vbv.16.2011.02.21.17.49.31 (version=SSLv3 cipher=OTHER); Mon, 21 Feb 2011 17:49:33 -0800 (PST) Subject: [PATCH] video: da8xx-fb: fix section mismatch warning From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Sudhakar Rajashekhara , Paul Mundt , linux-fbdev@vger.kernel.org Date: Tue, 22 Feb 2011 09:52:42 +0800 Message-Id: <1298339562.3903.3.camel@mola> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 22 Feb 2011 01:49:38 +0000 (UTC) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 8d61ef9..246f1c0 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -899,7 +899,7 @@ static struct fb_ops da8xx_fb_ops = { .fb_blank = cfb_blank, }; -static int __init fb_probe(struct platform_device *device) +static int __devinit fb_probe(struct platform_device *device) { struct da8xx_lcdc_platform_data *fb_pdata = device->dev.platform_data; @@ -1165,7 +1165,7 @@ static int fb_resume(struct platform_device *dev) static struct platform_driver da8xx_fb_driver = { .probe = fb_probe, - .remove = fb_remove, + .remove = __devexit_p(fb_remove), .suspend = fb_suspend, .resume = fb_resume, .driver = {