ARM: OMAP2+: Replace space with underscore in the name field of system timers
authorVaibhav Hiremath <hvaibhav@ti.com>
Wed, 9 May 2012 17:07:05 +0000 (10:07 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 20:09:26 +0000 (23:09 +0300)
commitced112d8e6a38adb7a5cfda9d7aff4ce45bbeeab
tree90c487a2b09158c6a21fbf79a967005984622b2a
parent9d92e1561e8f39fda4fd88db96eae530b0ac2012
ARM: OMAP2+: Replace space with underscore in the name field of system timers

Depending on the bootloader, passing command-line arguments
with spaces may have issues. Some bootloaders doesn't seem
to pass along the quotes, passing only 'gp' part of the string,
which leads to wrong override configuration.

The only affected kernel parameter configuration for OMAP family
is "clocksource=", used to override kernel clocksource.

So this patch changes "gp timer" => "gp_timer", for clockevent,
clocksource and timer irq_handler.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c