summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/ramtron.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi/ramtron.c')
-rw-r--r--drivers/mtd/spi/ramtron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c
index 453dd3f..078d16c 100644
--- a/drivers/mtd/spi/ramtron.c
+++ b/drivers/mtd/spi/ramtron.c
@@ -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;