diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-27 14:25:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-04 11:00:00 +0100 |
commit | 5b85daacc6ddaa3a3a3f38788f6b1bfac3a1c8d3 (patch) | |
tree | 3a0bd0d65012662255142d8bcceb73c07ef60237 /include | |
parent | 94e71b843f6456abacc2fe76a5c375a461fabdf7 (diff) | |
download | barebox-5b85daacc6ddaa3a3a3f38788f6b1bfac3a1c8d3.tar.gz barebox-5b85daacc6ddaa3a3a3f38788f6b1bfac3a1c8d3.tar.xz |
mtd: nand: register nand flashes with nand specific function
This allows us to have some NAND specific stuff during registration,
like for example adding NAND specific device parameters.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/nand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index d2f864897c..b111b66c6a 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -618,7 +618,7 @@ extern int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr, int allowbbt); extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, uint8_t * buf); - +extern int add_mtd_nand_device(struct mtd_info *mtd, char *devname); /* * Constants for oob configuration */ |