瀏覽代碼

[MTD] Export nand_write_raw

The previous _ecc removal / cleanup broke (i)nftl module usage.
Export the missing symbol.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 19 年之前
父節點
當前提交
3821720d51
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mtd/nand/nand_base.c

+ 1 - 0
drivers/mtd/nand/nand_base.c

@@ -1544,6 +1544,7 @@ int nand_write_raw(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
 	nand_release_device(mtd);
 	nand_release_device(mtd);
 	return 0;
 	return 0;
 }
 }
+EXPORT_SYMBOL_GPL(nand_write_raw);
 
 
 /**
 /**
  * nand_prepare_oobbuf - [GENERIC] Prepare the out of band buffer
  * nand_prepare_oobbuf - [GENERIC] Prepare the out of band buffer