diff options
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/onenand.h | 1 | ||||
| -rw-r--r-- | include/linux/mtd/samsung_onenand.h | 2 | 
2 files changed, 3 insertions, 0 deletions
| diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h index 546556263..dea42f41e 100644 --- a/include/linux/mtd/onenand.h +++ b/include/linux/mtd/onenand.h @@ -101,6 +101,7 @@ struct onenand_chip {  				size_t count);  	unsigned short (*read_word) (void __iomem *addr);  	void (*write_word) (unsigned short value, void __iomem *addr); +	int (*chip_probe)(struct mtd_info *mtd);  	void (*mmcontrol) (struct mtd_info *mtd, int sync_read);  	int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);  	int (*scan_bbt)(struct mtd_info *mtd); diff --git a/include/linux/mtd/samsung_onenand.h b/include/linux/mtd/samsung_onenand.h index 021fa27f7..ddb29bbee 100644 --- a/include/linux/mtd/samsung_onenand.h +++ b/include/linux/mtd/samsung_onenand.h @@ -127,5 +127,7 @@ struct samsung_onenand {  /* common initialize function */  extern void s3c_onenand_init(struct mtd_info *); +extern int s5pc110_chip_probe(struct mtd_info *); +extern int s5pc210_chip_probe(struct mtd_info *);  #endif |