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

Scott Wood
2008-07-21T16:03:51Z

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@ru.mvista.com>

ACK

-Scott