ARM: Orion5x: Fix warnings when using C=1.
Add missing include files, missing static keyword, and use NULL instead of 0, in order to fix warnings when compiling with C=1. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:

committed by
Jason Cooper

vanhempi
48fce88cb5
commit
4236666688
@@ -57,7 +57,7 @@ static struct map_desc ts78xx_io_desc[] __initdata = {
|
||||
},
|
||||
};
|
||||
|
||||
void __init ts78xx_map_io(void)
|
||||
static void __init ts78xx_map_io(void)
|
||||
{
|
||||
orion5x_map_io();
|
||||
iotable_init(ts78xx_io_desc, ARRAY_SIZE(ts78xx_io_desc));
|
||||
|
Viittaa uudesa ongelmassa
Block a user