提交 0dba333c 编写于 作者: S Sebastian Andrzej Siewior 提交者: David Woodhouse

block/spectra: rename nand_release()

so it does not clash with nand_release() in mtd
Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 b589aece
......@@ -218,7 +218,7 @@ u16 GLOB_LLD_Flash_Init(void)
int GLOB_LLD_Flash_Release(void)
{
return nand_release();
return nand_release_spectra();
}
u16 GLOB_LLD_Erase_Block(u32 block_add)
......
......@@ -2588,7 +2588,7 @@ int NAND_Flash_Init(void)
}
/* Free memory */
int nand_release(void)
int nand_release_spectra(void)
{
pci_unregister_driver(&nand_pci_driver);
iounmap(FlashMem);
......
......@@ -82,7 +82,7 @@ struct mrst_nand_info {
};
int NAND_Flash_Init(void);
int nand_release(void);
int nand_release_spectra(void);
u16 NAND_Flash_Reset(void);
u16 NAND_Read_Device_ID(void);
u16 NAND_Erase_Block(u32 flash_add);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册