Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f31f4b9 authored by Mike Frysinger's avatar Mike Frysinger Committed by David Woodhouse
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
CC: Greg Ungerer <gerg@uclinux.org>
CC: uclinux-dev@uclinux.org
CC: linux-mtd@lists.infradead.org
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 6ae392cc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -30,11 +30,11 @@ struct map_info uclinux_ram_map = {
	.size = 0,
};

struct mtd_info *uclinux_ram_mtdinfo;
static struct mtd_info *uclinux_ram_mtdinfo;

/****************************************************************************/

struct mtd_partition uclinux_romfs[] = {
static struct mtd_partition uclinux_romfs[] = {
	{ .name = "ROMfs" }
};

@@ -42,7 +42,7 @@ struct mtd_partition uclinux_romfs[] = {

/****************************************************************************/

int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,
static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,
	size_t *retlen, void **virt, resource_size_t *phys)
{
	struct map_info *map = mtd->priv;