提交 251f26c9 编写于 作者: T Thomas Huth 提交者: Richard Weinberger

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: NThomas Huth <thuth@redhat.com>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 d4197009
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册