Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.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

authored by

Masahiro Yamada and committed by
Thomas Gleixner
bd2746f0 1b88accf

+1
+1
drivers/clocksource/Kconfig
··· 386 387 config ATMEL_ST 388 bool "Atmel ST timer support" if COMPILE_TEST 389 select TIMER_OF 390 select MFD_SYSCON 391 help
··· 386 387 config ATMEL_ST 388 bool "Atmel ST timer support" if COMPILE_TEST 389 + depends on HAS_IOMEM 390 select TIMER_OF 391 select MFD_SYSCON 392 help