summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
412a849)
It clash with the one from MTD and make it impossible to statically compile this code in the kernel together with MTD (and will also make problems with modules).
/*
* Scan for the NAND device
*/
/*
* Scan for the NAND device
*/
-int nand_scan (struct mtd_info *mtd,int nchips)
+static int nandemul2k_scan (struct mtd_info *mtd,int nchips)
{
mtd->oobblock = PAGE_DATA_SIZE;
mtd->oobsize = PAGE_SPARE_SIZE;
{
mtd->oobblock = PAGE_DATA_SIZE;
mtd->oobsize = PAGE_SPARE_SIZE;
- nand_scan(&nandemul2k_mtd,1);
+ nandemul2k_scan(&nandemul2k_mtd,1);
// Build the partition table
// Build the partition table