Skip to content

Commit bd2746f

Browse files
masahir0yKAGA-KOKO
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Arnd Bergmann <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 1b88acc commit bd2746f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clocksource/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ config ATMEL_PIT
386386

387387
config ATMEL_ST
388388
bool "Atmel ST timer support" if COMPILE_TEST
389+
depends on HAS_IOMEM
389390
select TIMER_OF
390391
select MFD_SYSCON
391392
help

0 commit comments

Comments
 (0)