diff options
| author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-05 06:27:27 -0400 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 03:34:20 -0400 |
| commit | a4c025372d9d4756e7be98a98f5dde302c6df562 (patch) | |
| tree | 03721e98050bca30bebd1a8c7b53ac1d480409c3 /include/linux/mtd | |
| parent | 5dcddebb1b1f7638a2547d6729ca1ea501fb6834 (diff) | |
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>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/rawnand.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 0c6fb316b409..4d7a46c42900 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h | |||
| @@ -1545,8 +1545,6 @@ int nand_isreserved_bbt(struct mtd_info *mtd, loff_t offs); | |||
| 1545 | int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt); | 1545 | int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt); |
| 1546 | int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr, | 1546 | int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr, |
| 1547 | int allowbbt); | 1547 | int allowbbt); |
| 1548 | int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len, | ||
| 1549 | size_t *retlen, uint8_t *buf); | ||
| 1550 | 1548 | ||
| 1551 | /** | 1549 | /** |
| 1552 | * struct platform_nand_chip - chip level device structure | 1550 | * struct platform_nand_chip - chip level device structure |
