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

Mika Korhonen mika.j.korhonen at gmail.com
Thu May 21 16:17:44 EDT 2009


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.

Mika
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-devexit-macro-usage-in-OMAP-OneNAND.patch
Type: text/x-patch
Size: 1332 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20090521/52507497/attachment.bin>


More information about the linux-mtd mailing list