omap: Make a subset of dmtimer functions into inline functions
authorTony Lindgren <tony@atomide.com>
Tue, 29 Mar 2011 22:54:48 +0000 (15:54 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 20 Jun 2011 08:25:39 +0000 (01:25 -0700)
commitcaf64f2fdc48472995d40656eb1a75524c464447
treeda7b97e9a711552463640d526a023dd40d3807da
parentec97489d199b3dcfc44042ccf89b37a264d14565
omap: Make a subset of dmtimer functions into inline functions

This will allow us to share the code between system timer and
dmtimer device driver code without having to initialize all the
dmtimers early. This change will also make the timer_set_next_event
more efficient as the inline functions will optimize the code
better for the timer reprogramming.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/include/plat/dmtimer.h