[PATCH] [MTD][NAND] fix section error in plat_nand
Artem Bityutskiy
dedekind at infradead.org
Tue Apr 21 01:53:51 EDT 2009
On Tue, 2009-04-21 at 12:27 +0800, Thomas Chou wrote:
> With CONFIG_HOTPLUG=n, the following eror occurred during link:
> local symbol 0: discarded in section `.devexit.text' from
> drivers/built-in.o
>
> It was caused by improper section reference. The __devexit_p()
> should be added to the .remove function.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
Taken to l2-mtd tree, thanks.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list