mtd: nand: Add a helper to retrieve the number of pages per target
authorBoris Brezillon <bbrezillon@kernel.org>
Mon, 29 Oct 2018 16:18:39 +0000 (17:18 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:09 +0000 (10:21 +0200)
commit46b01d7efda29356d4dff88825e5ef51dd9f6bae
treef65f06a89e295a73eb15d17c2f2cc199bcc6c4c2
parent7c4ecca103b3d70c50adc693c9f5d39d292e13e0
mtd: nand: Add a helper to retrieve the number of pages per target

Will be used by the raw NAND framework.

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>
include/linux/mtd/nand.h