ARM: OMAP: timer: Wrap the inline functions under OMAP2PLUS define
authorKeerthy <j-keerthy@ti.com>
Thu, 15 Feb 2018 06:01:43 +0000 (11:31 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 22 Feb 2018 18:52:59 +0000 (10:52 -0800)
commitb65d12480c5eb80fe93b312fa1516edc1dad8677
tree807fdec41b6503943c0e0762b63260830df952b9
parentfc6db34d2021f175f7a431b2b5a5de6f9cf160fe
ARM: OMAP: timer: Wrap the inline functions under OMAP2PLUS define

Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
This patch also inlines omap_dm_timer_get_fclk function
for non OMAP1 Config.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Tested-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/dmtimer.h