]> git.karo-electronics.de Git - linux-beck.git/commit
clocksource: Build Tegra timer on 32-bit ARM only
authorThierry Reding <treding@nvidia.com>
Mon, 7 Jul 2014 13:26:30 +0000 (15:26 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 9 Jan 2015 13:45:43 +0000 (14:45 +0100)
commit910978e753d0be0b429cf75b5adaed55b90c96b2
tree174f38337a47ae2961d20bdbaba569fb57c765d3
parent2b20b6164ec737bec67641564e477aa6e008748b
clocksource: Build Tegra timer on 32-bit ARM only

Instead of directly using the ARCH_TEGRA Kconfig symbol to enable this
driver, add a new, non-user-visible Kconfig symbol (TEGRA_TIMER) which
can be selected by the various SoCs.

This is useful to disable building the driver on Tegra132 (64-bit ARM)
where it doesn't currently compile but also isn't needed (yet).

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/Kconfig
drivers/clocksource/Kconfig
drivers/clocksource/Makefile