]> git.openpandora.org Git - pandora-kernel.git/commitdiff
clockevents: asm9260: Fix compilation error with sparc/sparc64 allyesconfig
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 23 Feb 2015 18:54:16 +0000 (19:54 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 25 Feb 2015 09:28:22 +0000 (10:28 +0100)
The Kconfig options for the asm9260 timer is wrong as it can be selected by
another platform with allyes config and thus leading to a compilation failure
as some non arch related code is pulled by the compilation.

Fix this by having the platform Kconfig to select the timer as it is done for
the others drivers.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Oleksij Rempel <linux@rempel-privat.de>
Conflicts:
drivers/clocksource/Kconfig

arch/arm/mach-asm9260/Kconfig
drivers/clocksource/Kconfig

index 8423be76080eaa293e8f1d36f740548ddbad6973..52241207a82a3d3a802a90c1fe47e78150e8d5ba 100644 (file)
@@ -2,5 +2,7 @@ config MACH_ASM9260
        bool "Alphascale ASM9260"
        depends on ARCH_MULTI_V5
        select CPU_ARM926T
+       select ASM9260_TIMER
+       select GENERIC_CLOCKEVENTS
        help
          Support for Alphascale ASM9260 based platform.
Simple merge