[PATCH] [MTD] ONENAND: Fix devexit macro usage in OMAP OneNAND (was Re: [PATCH] OMAP OneNAND: add missing __devexit_p wrappers)

Artem Bityutskiy dedekind at infradead.org
Sat May 23 05:14:39 EDT 2009


On Thu, 2009-05-21 at 23:17 +0300, Mika Korhonen wrote:
> 2009/4/29 David Brownell <david-b at pacbell.net>:
> > On Wednesday 29 April 2009, Adrian Hunter wrote:
> >> +       .shutdown       = __devexit_p(omap2_onenand_shutdown),
> >
> > That looks wrong.  Shutdown functions shouldn't get discarded
> > like exit functions.  I'd think the fix for that would be taking
> > away any __devexit annotation on the shutdown function.
> >
> >
> 
> Here follows the revised patch, fixed as suggested.

I've taken this patch to l2-mtd-2.6.git.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list