]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
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 ac25eea1a2aab5884fb05d8a5c9935b2328d647c..5c3b9762dc3ee7627c18dba74ca9d3d6a2e0d80d 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 8c279b8a6a673864882f84a75d472381f50fa18d..13c3ad2db3942e74369538884c29819ffe9fd4dd 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 c7d62c5151c7e86ebf107330f888d481eedf9400..d08388287da8905a9b3fcc4e21d9daff457b9826 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);