Skip to content

Commit a4c0253

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
mtd: rawnand: Remove nand_do_read() prototype from rawnand.h
nand_do_read() is a static function implemented in nand_base.c. There's no good reason to expose its prototype in rawnand.h. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 5dcddeb commit a4c0253

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/linux/mtd/rawnand.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,8 +1545,6 @@ int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs);
15451545
int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt);
15461546
int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
15471547
int allowbbt);
1548-
int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len,
1549-
size_t *retlen, uint8_t *buf);
15501548

15511549
/**
15521550
* struct platform_nand_chip - chip level device structure

0 commit comments

Comments
 (0)