]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: import nand_hw_control_init()
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Fri, 15 Mar 2019 14:14:31 +0000 (15:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 15:55:58 +0000 (11:55 -0400)
commit5df42b0603d50ea59e1039b31fe74c1309abdd3a
treea74c31d0832b2a51a1e065aed88989f43b360d8f
parent892a8682f71910aa12647c5636ec5304225c9e0f
mtd: nand: import nand_hw_control_init()

Linux commit d45bc58dd3b ("mtd: nand: import nand_hw_control_init()")

The code to initialize a struct nand_hw_control is duplicated across
several drivers. Factorize it using an inline function.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Philippe Reynes: adapt code to u-boot and only keep new function]

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
include/linux/mtd/rawnand.h