[PATCH 07/20] mtd: nand: ecc-bch: Update the prototypes to be more generic

Miquel Raynal miquel.raynal at bootlin.com
Fri Oct 30 13:29:48 EDT 2020


On Tue, 2020-09-29 at 23:01:11 UTC, Miquel Raynal wrote:
> These functions must be usable by the main NAND core, so their names
> must be technology-agnostic as well as the parameters. Hence, we pass
> a generic nand_device instead of a raw nand_chip structure.
> 
> As it seems that changing the raw NAND functions to always pass a
> generic NAND device is a lost of time, we prefer to create dedicated
> raw NAND wrappers that will be useful in the near future to do the
> translation.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel



More information about the linux-mtd mailing list