block/spectra: rename nand_release()
so it does not clash with nand_release() in mtd Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
b589aece50
commit
0dba333c95
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue