[PATCH] MTD: Add support for the MPC8xxADS boards
Vitaly Wool
vwool at ru.mvista.com
Tue Nov 29 00:39:20 EST 2005
Hi Vitaly (no, I'm not talking to myself! :) ),
Vitaly Bordug wrote:
>+/* pointer to MPC885ADS board info data */
>+extern unsigned char __res[];
>+
>+static int __init init_mpc8xxads_mtd(void)
>+{
>+ bd_t *bd = (bd_t *)__res;
>
>
I'd like to suggest using platform_data here instead of this global.
Please see how mainstone-flash.c is organized as an example.
Best regards,
Vitaly
More information about the linux-mtd
mailing list