block/spectra: rename nand_release()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 2 Jun 2010 13:08:37 +0000 (15:08 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 7 Jun 2010 15:24:12 +0000 (16:24 +0100)
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>
drivers/block/spectra/lld.c
drivers/block/spectra/lld_nand.c
drivers/block/spectra/lld_nand.h

index ac25eea..5c3b976 100644 (file)
@@ -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)
index 8c279b8..13c3ad2 100644 (file)
@@ -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);
index c7d62c5..d083882 100644 (file)
@@ -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);