Skip to content

Commit

Permalink
omap: mach-omap2/io.c: fix function declarations
Browse files Browse the repository at this point in the history
Get rid of the following warnings:

	warning: non-ANSI function declaration of function [...]

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed Mar 11, 2010
1 parent f00d649 commit 8185e46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm/mach-omap2/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static void __init _omap2_map_common_io(void)
}

#ifdef CONFIG_ARCH_OMAP2420
void __init omap242x_map_common_io()
void __init omap242x_map_common_io(void)
{
iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
iotable_init(omap242x_io_desc, ARRAY_SIZE(omap242x_io_desc));
Expand All @@ -246,7 +246,7 @@ void __init omap242x_map_common_io()
#endif

#ifdef CONFIG_ARCH_OMAP2430
void __init omap243x_map_common_io()
void __init omap243x_map_common_io(void)
{
iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc));
Expand All @@ -255,15 +255,15 @@ void __init omap243x_map_common_io()
#endif

#ifdef CONFIG_ARCH_OMAP3
void __init omap34xx_map_common_io()
void __init omap34xx_map_common_io(void)
{
iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc));
_omap2_map_common_io();
}
#endif

#ifdef CONFIG_ARCH_OMAP4
void __init omap44xx_map_common_io()
void __init omap44xx_map_common_io(void)
{
iotable_init(omap44xx_io_desc, ARRAY_SIZE(omap44xx_io_desc));
_omap2_map_common_io();
Expand Down

0 comments on commit 8185e46

Please sign in to comment.