diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-10-23 10:12:51 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-11-23 21:36:40 -0500 |
commit | 4236666688e9dbc38d0c7a98b7cfa16c8961f752 (patch) | |
tree | 281914acfb2e9449fe43c1a92a0be5ea13b90f16 /arch/arm/mach-orion5x/ts78xx-setup.c | |
parent | 48fce88cb5fac1b9f9f1c3c756d1e5caa42d5692 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-orion5x/ts78xx-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/ts78xx-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c index e960855d32ac..db16dae441e2 100644 --- a/arch/arm/mach-orion5x/ts78xx-setup.c +++ b/arch/arm/mach-orion5x/ts78xx-setup.c | |||
@@ -57,7 +57,7 @@ static struct map_desc ts78xx_io_desc[] __initdata = { | |||
57 | }, | 57 | }, |
58 | }; | 58 | }; |
59 | 59 | ||
60 | void __init ts78xx_map_io(void) | 60 | static void __init ts78xx_map_io(void) |
61 | { | 61 | { |
62 | orion5x_map_io(); | 62 | orion5x_map_io(); |
63 | iotable_init(ts78xx_io_desc, ARRAY_SIZE(ts78xx_io_desc)); | 63 | iotable_init(ts78xx_io_desc, ARRAY_SIZE(ts78xx_io_desc)); |