[PATCH] [MTD] [NAND] fsl_elbc_nand: fix section mismatch with CONFIG_MTD_OF_PARTS=y

Scott Wood scottwood at freescale.com
Mon Jul 21 12:03:51 EDT 2008


On Mon, Jul 14, 2008 at 07:20:37PM +0400, Anton Vorontsov wrote:
> 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 at ru.mvista.com>

ACK

-Scott



More information about the linux-mtd mailing list