From: Sudeep Holla Date: Mon, 18 May 2015 15:29:04 +0000 (+0100) Subject: ARM: 8365/1: introduce sp804_timer_disable and remove arm_timer.h inclusion X-Git-Tag: omap-for-v4.2/fixes-rc1^2~100^2~7^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5f0519f4cbf8b8830b88039e16222f186a4ab4;p=pandora-kernel.git ARM: 8365/1: introduce sp804_timer_disable and remove arm_timer.h inclusion The header asm/hardware/arm_timer.h is included in various machine specific files to access TIMER_CTRL and initialise to a known state. This patch introduces a new function sp804_timer_disable to disable the SP804 timers and uses the same for initialising the timers to known(off) state, thereby removing the dependency on the header asm/hardware/arm_timer.h This change is in prepartion to move sp804 timer support out of arch/arm so that it can be used on ARM64 platforms. Cc: Daniel Lezcano Cc: Arnd Bergmann Cc: Olof Johansson Acked-by: Thomas Gleixner Signed-off-by: Sudeep Holla Signed-off-by: Russell King --- Reading git-diff-tree failed