]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/spi/ramtron.c
sf: localize erase funcs
[karo-tx-uboot.git] / drivers / mtd / spi / ramtron.c
index 453dd3f44e27261a7b6d64d121319495a90deb66..078d16ce1bc6d5ec15ec1b15373c575ae51e2ac9 100644 (file)
@@ -233,7 +233,7 @@ static int ramtron_write(struct spi_flash *flash,
                CMD_RAMTRON_WRITE);
 }
 
-int ramtron_erase(struct spi_flash *flash, u32 offset, size_t len)
+static int ramtron_erase(struct spi_flash *flash, u32 offset, size_t len)
 {
        debug("SF: Erase of RAMTRON FRAMs is pointless\n");
        return -1;