From: Thomas Chou Date: Tue, 21 Apr 2009 04:27:34 +0000 (+0800) Subject: mtd: plat_nand: fix section error X-Git-Tag: v2.6.31-rc1~53^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b5ce20cc75603ce7c03a42116c30a17bce509a;p=pandora-kernel.git mtd: plat_nand: fix section error 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed