public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] OMAP OneNAND: add missing __devexit_p wrappers
@ 2009-04-29 11:10 Mika Korhonen
  0 siblings, 0 replies; 3+ messages in thread
From: Mika Korhonen @ 2009-04-29 11:10 UTC (permalink / raw)
  To: linux-mtd

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


--------------060606050107020605040104--

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-29 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <7948530904290459q36d9c3fcq2db0dedcf88549d2@mail.gmail.com>
2009-04-29 13:15 ` [PATCH] OMAP OneNAND: add missing __devexit_p wrappers Adrian Hunter
2009-04-29 17:55   ` David Brownell
2009-04-29 11:10 Mika Korhonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox