From: Thomas Huth Date: Sat, 27 Apr 2019 15:14:57 +0000 (+0200) Subject: mtd: maps: Make uclinux_ram_map static X-Git-Tag: v5.4-rc1~1009^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=251f26c9e828aa441a603efc32e0308ca76f172c;p=platform%2Fkernel%2Flinux-rpi.git mtd: maps: Make uclinux_ram_map static The blackfin architecture has been removed a while ago, so there is no more need to declare uclinux_ram_map as a global structure. Signed-off-by: Thomas Huth Signed-off-by: Richard Weinberger --- diff --git a/drivers/mtd/maps/uclinux.c b/drivers/mtd/maps/uclinux.c index aef030c..de4c463 100644 --- a/drivers/mtd/maps/uclinux.c +++ b/drivers/mtd/maps/uclinux.c @@ -31,13 +31,7 @@ #define MAP_NAME "ram" #endif -/* - * Blackfin uses uclinux_ram_map during startup, so it must not be static. - * Provide a dummy declaration to make sparse happy. - */ -extern struct map_info uclinux_ram_map; - -struct map_info uclinux_ram_map = { +static struct map_info uclinux_ram_map = { .name = MAP_NAME, .size = 0, };