From: Anton Vorontsov Date: Fri, 6 Jun 2008 14:59:40 +0000 (+0400) Subject: [MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and remove X-Git-Tag: v2.6.27-rc1~69^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa83570e23e626fe8dd1253f17e6d175507025f1;p=pandora-kernel.git [MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and remove WARNING: drivers/mtd/nand/built-in.o(.devinit.text+0x114): Section mismatch in reference from the function fsl_elbc_ctrl_probe() to the function .devexit.text:fsl_elbc_ctrl_remove() __devinit functions should not call functions with __devexit. Since probe function calls remove in case of errors, we want to remove __devexit attribute from it. Signed-off-by: Anton Vorontsov Acked-by: Scott Wood Signed-off-by: David Woodhouse --- Reading git-diff-tree failed