diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2018-10-29 12:29:48 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 11:21:09 +0300 |
commit | 7c4ecca103b3d70c50adc693c9f5d39d292e13e0 (patch) | |
tree | c2a12299a0ffd89fbf3ab1150c2525da8378d083 /include/linux/mtd/ndfc.h | |
parent | 377e517b5fa53590418a7b4c2206082d92434fa3 (diff) | |
download | linux-7c4ecca103b3d70c50adc693c9f5d39d292e13e0.tar.xz |
mtd: nand: Add a helper returning the number of eraseblocks per target
Some drivers in the raw NAND framework seems to need this helper, so
let's just add it instead of open-coding the logic.
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Diffstat (limited to 'include/linux/mtd/ndfc.h')
0 files changed, 0 insertions, 0 deletions