]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: exynos_mct: remove platform header dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 Apr 2013 09:35:29 +0000 (11:35 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 21:00:38 +0000 (23:00 +0200)
commit68d0e7be75c4bfc47768d518e2f62c7dc04c4647
treea2ddc86bd59cb394ecd08ff1c0f23018af0c37e1
parent8bc590038c57ef1a4d93713f6ac7ee8729dc24ca
clocksource: exynos_mct: remove platform header dependency

For the non-DT case, the mct_init() function requires access
to a couple of platform specific constants, but cannot include
the header files in case we are building for multiplatform.

This changes the interface to the platform so we pass all
the necessary data as arguments to mct_init.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/common.h
drivers/clocksource/exynos_mct.c