From patchwork Wed Apr 29 13:15:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 20712 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3TDHxhu031591 for ; Wed, 29 Apr 2009 13:17:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754026AbZD2NOl (ORCPT ); Wed, 29 Apr 2009 09:14:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760643AbZD2NOl (ORCPT ); Wed, 29 Apr 2009 09:14:41 -0400 Received: from smtp.nokia.com ([192.100.122.233]:26839 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760652AbZD2NOk (ORCPT ); Wed, 29 Apr 2009 09:14:40 -0400 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n3TDDrM1016913; Wed, 29 Apr 2009 16:14:16 +0300 Received: from vaepf101.NOE.Nokia.com ([10.160.244.86]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Apr 2009 16:14:19 +0300 Received: from [172.21.41.224] ([172.21.41.224]) by vaepf101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Apr 2009 16:14:19 +0300 Message-ID: <49F852EB.1080701@nokia.com> Date: Wed, 29 Apr 2009 16:15:23 +0300 From: Adrian Hunter User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Mika Korhonen CC: "linux-omap@vger.kernel.org" , David Woodhouse , linux-mtd Mailing List Subject: Re: [PATCH] OMAP OneNAND: add missing __devexit_p wrappers References: <7948530904290459q36d9c3fcq2db0dedcf88549d2@mail.gmail.com> In-Reply-To: <7948530904290459q36d9c3fcq2db0dedcf88549d2@mail.gmail.com> X-OriginalArrivalTime: 29 Apr 2009 13:14:19.0774 (UTC) FILETIME=[67D621E0:01C9C8CC] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Mika Korhonen wrote: > The patch follows as attachment as gmail damages whitespaces and > git-send-mail is right now out of question. This goes via MTD mailing list. From b72b537ff229a8d62540569bc543c419702ecb05 Mon Sep 17 00:00:00 2001 From: Mika Korhonen Date: Wed, 29 Apr 2009 14:10:34 +0300 Subject: [PATCH] OMAP OneNAND: add missing __devexit_p wrappers Fixes build in configurations where devexit functions get discarded Signed-off-by: Mika Korhonen --- drivers/mtd/onenand/omap2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index f2e9de1..4882935 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c @@ -778,8 +778,8 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) static struct platform_driver omap2_onenand_driver = { .probe = omap2_onenand_probe, - .remove = omap2_onenand_remove, - .shutdown = omap2_onenand_shutdown, + .remove = __devexit_p(omap2_onenand_remove), + .shutdown = __devexit_p(omap2_onenand_shutdown), .driver = { .name = DRIVER_NAME, .owner = THIS_MODULE, -- 1.5.6.5