[PATCH v9 3/3] MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue May 29 12:01:12 EDT 2012
> >>+
> >>+static void __iomem *pmecc_get_index_of(struct atmel_nand_host *host)
> >this is a __dev_init function plese check the other too
> >
> >btw you need to use __dev_init and not __init
>
> Here I use pmecc_get_index_of() function to get a lookup table base
> which is in ROM.
> I'm not clear about how should I need __dev_init here. Can you give
> more information?
it is the section where the function is going to be stored
pmecc_get_index_of is use at probe time so it's __devinit section
as it's supposed to be for the probe function too
Best Regards,
J.
More information about the linux-mtd
mailing list