Thread (12 messages) 12 messages, 3 authors, 2012-05-29
DORMANTno replies

[PATCH v9 3/3] MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-05-29 16:01:12

quoted
quoted
+
+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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help