[PATCH V5 2/2] mtd: nand: Calculate better default ecc layout
Troy Kisky
troy.kisky at boundarydevices.com
Thu Jul 23 15:38:19 EDT 2009
David Brownell wrote:
> On Thursday 23 July 2009, Troy Kisky wrote:
>> What do you think of leaving nand_base totally alone
>> and add a file nand_probe.h which contain the new
>> routines marked as inline, or mark it __devinit or
>> __init ? I don't think anyone but probe calls these
>> functions.
>
> You don't want those nand-core functions to be removed.
> Drivers can be modular, and they need to call them.
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
You misunderstand. I'm suggesting that each driver
includes nand_probe.h
That way, the routines can be freed when initialization
is complete.
More information about the linux-mtd
mailing list