mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-29 01:34:00 +00:00
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 <thuth@redhat.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
d41970097f
commit
251f26c9e8
1 changed files with 1 additions and 7 deletions
|
@ -31,13 +31,7 @@
|
||||||
#define MAP_NAME "ram"
|
#define MAP_NAME "ram"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
static struct map_info uclinux_ram_map = {
|
||||||
* 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 = {
|
|
||||||
.name = MAP_NAME,
|
.name = MAP_NAME,
|
||||||
.size = 0,
|
.size = 0,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue