aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-26 19:33:17 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-06-05 13:29:35 -0400
commit9f31f4b9dccf6fa4a606ae04602ec232b94727fb (patch)
tree23cbf7621365fa10ee126327dd650026edea6466 /drivers
parent6ae392ccadbc622d58a9d01a7ee59e340f82fe85 (diff)
mtd: uclinux: mark local stuff static
The uclinux_ram_mtdinfo, uclinux_romfs, and uclinux_point symbols do not need to be visible outside of this module, so mark them static. Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Greg Ungerer <gerg@uclinux.org> CC: uclinux-dev@uclinux.org CC: linux-mtd@lists.infradead.org Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-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;