[PATCH] fsmc-nand: Add fsmc_nand_set_plat_data in linux/mtd/fsmc.h

Linus Walleij linus.walleij at linaro.org
Thu Feb 24 07:38:54 EST 2011


2011/2/23 Viresh Kumar <viresh.kumar at st.com>:

> In most of the cases partitions info, width, etc comes from board files. And
> device structure may be defined in machine files, common to all board files.
> Thus, we need to set platform data from board file, for which
> fsmc_nand_set_plat_data routine is required.

Hm you create a new function, but where is it used? If it's used by a later
patch perhaps you should make a patch series instead?

Yours,
Linus Walleij



More information about the linux-mtd mailing list