mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-02 23:54:33 +01: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 <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
1 parent
d41970097f
commit
251f26c9e8
1 file changed
+1
-7
@@ -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,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user