Commit 251f26c9 authored by Thomas Huth's avatar Thomas Huth Committed by Richard Weinberger
Browse files

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: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent d4197009
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -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,
};