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

Artem Bityutskiy dedekind1 at gmail.com
Fri Feb 25 06:25:38 EST 2011

On Fri, 2011-02-25 at 16:52 +0530, viresh kumar wrote:
> Actually this routine will not be called many times.

Which means it is not on the hot path which means inline is not really
needed. Also, today it is not called too many times, tomorrow it could
be called more often...

>  Only for setting
> plat_data of few devices (depending on board). So i thought keeping
> it inline would be better. But will change if you want. Should i move
> it in fsmc-nand.c??

Hi, up to you, I would not keep it in a header file, this is more about
personal taste, I guess.

Best Regards,
Artem Bityutskiy (Артём Битюцкий)

More information about the linux-mtd mailing list