
5 Jan
2011
5 Jan
'11
10:33 p.m.
On Tue, Jan 04, 2011 at 11:39:04AM +0800, Lei Wen wrote:
@@ -2580,13 +2579,15 @@ static const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
- nand_scan_ident - [NAND Interface] Scan for the NAND device
- @mtd: MTD device structure
- @maxchips: Number of chips to scan for
*/
- @table: Alternative NAND ID table
- This is the first phase of the normal nand_scan() function. It
- reads the flash ID and sets up MTD fields accordingly.
- The mtd->owner field must be set to the module of the caller.
-int nand_scan_ident(struct mtd_info *mtd, int maxchips) +int nand_scan_ident(struct mtd_info *mtd, int maxchips,
struct nand_flash_dev *table)
table should be const here as well.
-Scott