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

viresh kumar viresh.kumar at st.com
Fri Feb 25 06:43:03 EST 2011

On 02/25/2011 04:55 PM, Artem Bityutskiy wrote:
> 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.

Ok. I have moved this to fsmc-nand.c. Will send V2.


More information about the linux-mtd mailing list