summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-12-01 17:40:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-01 17:40:54 +0000
commit020f97063dd68a8e3b9aac928ac49a438b7416ce (patch)
treee141ad9b60d3122cfa8323ded11e2bd1be8a0735 /arch/arm/mach-omap1
parentd9d060a98ff89fe0f86e24c9c0c3d2f0c566781c (diff)
downloadtalos-obmc-linux-020f97063dd68a8e3b9aac928ac49a438b7416ce.tar.gz
talos-obmc-linux-020f97063dd68a8e3b9aac928ac49a438b7416ce.zip
[ARM] omap: fix a pile of issues
This patch fixes a number of sillies, from missing 'const' to using 'return' in void functions, to functions with no arguments not even 'void' and a cast which isn't required. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c
index b3bd8ca85118..4c3e582f3d3c 100644
--- a/arch/arm/mach-omap1/io.c
+++ b/arch/arm/mach-omap1/io.c
@@ -128,7 +128,7 @@ void __init omap1_map_common_io(void)
* Common low-level hardware init for omap1. This should only get called from
* board specific init.
*/
-void __init omap1_init_common_hw()
+void __init omap1_init_common_hw(void)
{
/* REVISIT: Refer to OMAP5910 Errata, Advisory SYS_1: "Timeout Abort
* on a Posted Write in the TIPB Bridge".
OpenPOWER on IntegriCloud