Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 599dc457 authored by Matt Redfearn's avatar Matt Redfearn Committed by Daniel Lezcano
Browse files

clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies

In v4.13, CLKSRC_PISTACHIO can select TIMER_OF on architectures without
GENERIC_CLOCKEVENTS, resulting in a struct clock_event_device missing
some required features and build breakage compiling timer_of.c. One of
the symbols selecting TIMER_OF is CLKSRC_PISTACHIO, so add the
dependency on GENERIC_CLOCKEVENTS.

Thanks to kbuild test robot for finding this error
(https://lkml.org/lkml/2017/7/16/249

)

Signed-off-by: default avatarMatt Redfearn <matt.redfearn@imgtec.com>
Suggested-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 9e80dbd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -262,7 +262,7 @@ config CLKSRC_LPC32XX


config CLKSRC_PISTACHIO
config CLKSRC_PISTACHIO
	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
	depends on HAS_IOMEM
	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
	select TIMER_OF
	select TIMER_OF
	help
	help
	  Enables the clocksource for the Pistachio SoC.
	  Enables the clocksource for the Pistachio SoC.