aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/uclinux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/uclinux.c b/drivers/mtd/maps/uclinux.c
index 61d4087dd8f7..d4314fb88212 100644
--- a/drivers/mtd/maps/uclinux.c
+++ b/drivers/mtd/maps/uclinux.c
@@ -30,11 +30,11 @@ struct map_info uclinux_ram_map = {
30 .size = 0, 30 .size = 0,
31}; 31};
32 32
33struct mtd_info *uclinux_ram_mtdinfo; 33static struct mtd_info *uclinux_ram_mtdinfo;
34 34
35/****************************************************************************/ 35/****************************************************************************/
36 36
37struct mtd_partition uclinux_romfs[] = { 37static struct mtd_partition uclinux_romfs[] = {
38 { .name = "ROMfs" } 38 { .name = "ROMfs" }
39}; 39};
40 40
@@ -42,7 +42,7 @@ struct mtd_partition uclinux_romfs[] = {
42 42
43/****************************************************************************/ 43/****************************************************************************/
44 44
45int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, 45static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,
46 size_t *retlen, void **virt, resource_size_t *phys) 46 size_t *retlen, void **virt, resource_size_t *phys)
47{ 47{
48 struct map_info *map = mtd->priv; 48 struct map_info *map = mtd->priv;