]> err.no Git - linux-2.6/commit
[MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 14 Jul 2008 15:20:37 +0000 (19:20 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 25 Jul 2008 13:43:54 +0000 (09:43 -0400)
commit55679df30dfa37886cd9e22d8dea0e6974a552df
treef32ef74f14494a20e6de0e82ead6c74c6b0a4baf
parent0533400b7813df6c22a171499434d30bd57e799c
[MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y

With CONFIG_MTD_OF_PARTS=y I'm getting this new section mismatch in reference
from the function fsl_elbc_chip_probe() to the function
.devinit.text:of_mtd_parse_partitions()

This patch fixes the mismatch by providing __devinit annotation to the
fsl_elbc_chip_probe() function.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-By: Scott Wood <scottwood@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c