clocksource/atmel-st: Add 'depends on HAS_IOMEM' to fix unmet dependency
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Mar 2018 11:20:33 +0000 (20:20 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Mar 2018 10:11:58 +0000 (11:11 +0100)
The ATMEL_ST config selects MFD_SYSCON, but does not depend on HAS_IOMEM.

Compile testing on architecture without HAS_IOMEM causes "unmet direct
dependencies" in Kconfig phase. Detected by "make ARCH=score allyesconfig".

Add the proper dependency to the ATMEL_ST config.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/1520335233-11277-1-git-send-email-yamada.masahiro@socionext.com
drivers/clocksource/Kconfig

index b3b4ed9..d2e5382 100644 (file)
@@ -386,6 +386,7 @@ config ATMEL_PIT
 
 config ATMEL_ST
        bool "Atmel ST timer support" if COMPILE_TEST
+       depends on HAS_IOMEM
        select TIMER_OF
        select MFD_SYSCON
        help