summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/macronix.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-12 01:51:29 -0400
committerMike Frysinger <vapier@gentoo.org>2011-04-12 02:15:56 -0400
commitf8f0757dcb117664a712650f000433e765acffbd (patch)
tree7bd09a5d60f6cd8a858cdcc261af634e5c3672a0 /drivers/mtd/spi/macronix.c
parentc5910874ba418e7dc35661b98a8931cb86358f95 (diff)
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/macronix.c')
-rw-r--r--drivers/mtd/spi/macronix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c
index a0512d1e3a..ff66f2aa35 100644
--- a/drivers/mtd/spi/macronix.c
+++ b/drivers/mtd/spi/macronix.c
@@ -175,7 +175,7 @@ static int macronix_write(struct spi_flash *flash,
return ret;
}
-int macronix_erase(struct spi_flash *flash, u32 offset, size_t len)
+static int macronix_erase(struct spi_flash *flash, u32 offset, size_t len)
{
return spi_flash_cmd_erase(flash, CMD_MX25XX_BE, offset, len);
}