diff options
author | Miquel Raynal | 2018-07-25 15:31:50 +0200 |
---|---|---|
committer | Miquel Raynal | 2018-07-31 09:46:14 +0200 |
commit | 98732da1a08ebb666983d469981a8b994e77d556 (patch) | |
tree | ec51ec6b17a22edcabea0e7327ccad2ebab26493 /block/blk-timeout.c | |
parent | ee1af8296dbc34c8198cbdd54cc244c19a10321e (diff) |
mtd: rawnand: do not export nand_scan_[ident|tail]() anymore
Both nand_scan_ident() and nand_scan_tail() helpers used to be called
directly from controller drivers that needed to tweak some ECC-related
parameters before nand_scan_tail(). This separation prevented dynamic
allocations during the phase of NAND identification, which was
inconvenient.
All controller drivers have been moved to use nand_scan(), in
conjunction with the chip->ecc.[attach|detach]_chip() hooks that
actually do the required tweaking sequence between both ident/tail
calls, allowing programmers to use dynamic allocation as they need all
across the scanning sequence.
Declare nand_scan_[ident|tail]() statically now.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions