mtd: maps: Make uclinux_ram_map static
authorThomas Huth <thuth@redhat.com>
Sat, 27 Apr 2019 15:14:57 +0000 (17:14 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 6 May 2019 19:47:01 +0000 (21:47 +0200)
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 <thuth@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/uclinux.c

index aef030ca8601c709cc735a180b6c997f8b951f7c..de4c46318abb80c1938345fe0b62083c7c673017 100644 (file)
 #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,
 };