Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8185e468 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Tony Lindgren
Browse files

omap: mach-omap2/io.c: fix function declarations



Get rid of the following warnings:

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

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f00d6497
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -237,7 +237,7 @@ static void __init _omap2_map_common_io(void)
}
}


#ifdef CONFIG_ARCH_OMAP2420
#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(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
	iotable_init(omap242x_io_desc, ARRAY_SIZE(omap242x_io_desc));
	iotable_init(omap242x_io_desc, ARRAY_SIZE(omap242x_io_desc));
@@ -246,7 +246,7 @@ void __init omap242x_map_common_io()
#endif
#endif


#ifdef CONFIG_ARCH_OMAP2430
#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(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
	iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc));
	iotable_init(omap243x_io_desc, ARRAY_SIZE(omap243x_io_desc));
@@ -255,7 +255,7 @@ void __init omap243x_map_common_io()
#endif
#endif


#ifdef CONFIG_ARCH_OMAP3
#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));
	iotable_init(omap34xx_io_desc, ARRAY_SIZE(omap34xx_io_desc));
	_omap2_map_common_io();
	_omap2_map_common_io();
@@ -263,7 +263,7 @@ void __init omap34xx_map_common_io()
#endif
#endif


#ifdef CONFIG_ARCH_OMAP4
#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));
	iotable_init(omap44xx_io_desc, ARRAY_SIZE(omap44xx_io_desc));
	_omap2_map_common_io();
	_omap2_map_common_io();