diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-12 01:51:29 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-12 02:15:56 -0400 |
commit | f8f0757dcb117664a712650f000433e765acffbd (patch) | |
tree | 7bd09a5d60f6cd8a858cdcc261af634e5c3672a0 /drivers/mtd/spi/ramtron.c | |
parent | c5910874ba418e7dc35661b98a8931cb86358f95 (diff) | |
download | u-boot-imx-f8f0757dcb117664a712650f000433e765acffbd.zip u-boot-imx-f8f0757dcb117664a712650f000433e765acffbd.tar.gz u-boot-imx-f8f0757dcb117664a712650f000433e765acffbd.tar.bz2 |
sf: localize erase funcs
No need for these to be exported as they are only accessed indirectly
via function pointers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi/ramtron.c')
-rw-r--r-- | drivers/mtd/spi/ramtron.c | 2 |
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; |