On Mon, Dec 6, 2010 at 2:54 AM, w d <[email protected]> wrote:

> Hi,
>    Now,I'm porting Android nand driver.
>    I found a variable "__initdata":
>
>    *static struct s3c2410_uartcfg smdkc100_uartcfgs[] _initdata =
> {......},*
>
>    Where and how is "__initdata" used.
>
>    Thanks!
>

Firstly, that's nowhere near the nand driver.
Secondly, go and read either a good book on writing kernel code or have a
look
through the documentation.

FYI, __initdata is data used in the initialisation process and then thrown
away.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to