clk: samsung: Don't build ARMv8 clock drivers on ARMv7
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 16 Feb 2016 06:20:31 +0000 (15:20 +0900)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 22 Feb 2016 18:20:24 +0000 (10:20 -0800)
commit85997a7cba7bc1578eb554e88f82023d85fb499a
treec5f75943f899806d93bdcb6ff8013310f83cdd00
parent215cd9674fa02e4b341e4568d20ef5fd6fab1b0b
clk: samsung: Don't build ARMv8 clock drivers on ARMv7

Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS
so it is built also on ARMv7. This does not bring any kind of benefit.
There won't be a single kernel image for ARMv7 and ARMv8 SoCs (like
multi_v7 for ARMv7).

Instead build clock drivers only for respective SoC's architecture.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/samsung/Kconfig
drivers/clk/samsung/Makefile