From: Adrian Hunter <adrian.hunter@nokia.com>
To: Mika Korhonen <mika.j.korhonen@gmail.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
David Woodhouse <dwmw2@infradead.org>,
linux-mtd Mailing List <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH] OMAP OneNAND: add missing __devexit_p wrappers
Date: Wed, 29 Apr 2009 16:15:23 +0300 [thread overview]
Message-ID: <49F852EB.1080701@nokia.com> (raw)
In-Reply-To: <7948530904290459q36d9c3fcq2db0dedcf88549d2@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
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.
[-- Attachment #2: 0001-OMAP-OneNAND-add-missing-__devexit_p-wrappers.patch --]
[-- Type: text/x-diff, Size: 1047 bytes --]
>From b72b537ff229a8d62540569bc543c419702ecb05 Mon Sep 17 00:00:00 2001
From: Mika Korhonen <mika.j.korhonen@gmail.com>
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 <mika.j.korhonen@gmail.com>
---
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
next prev parent reply other threads:[~2009-04-29 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 11:59 [PATCH] OMAP OneNAND: add missing __devexit_p wrappers Mika Korhonen
2009-04-29 13:15 ` Adrian Hunter [this message]
2009-04-29 17:55 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F852EB.1080701@nokia.com \
--to=adrian.hunter@nokia.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=mika.j.korhonen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox