Commit-ID:  bd2746f09e1d8e37164f53b846f5225f3d36ee2d
Gitweb:     https://git.kernel.org/tip/bd2746f09e1d8e37164f53b846f5225f3d36ee2d
Author:     Masahiro Yamada <yamada.masah...@socionext.com>
AuthorDate: Tue, 6 Mar 2018 20:20:33 +0900
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Fri, 9 Mar 2018 11:11:58 +0100

clocksource/atmel-st: Add 'depends on HAS_IOMEM' to fix unmet dependency

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.masah...@socionext.com>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: Daniel Lezcano <daniel.lezc...@linaro.org>
Cc: Arnd Bergmann <a...@arndb.de>
Link: 
https://lkml.kernel.org/r/1520335233-11277-1-git-send-email-yamada.masah...@socionext.com

---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index b3b4ed9b6874..d2e5382821a4 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -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

Reply via email to