clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies
authorMatt Redfearn <matt.redfearn@imgtec.com>
Tue, 18 Jul 2017 08:25:39 +0000 (09:25 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 11 Aug 2017 10:53:29 +0000 (12:53 +0200)
commit599dc457c79bde8bd4fe8bbb2ba1f30ef3d7a5c8
tree16414569e25aac67bb88195283c57e62cc6de7ea
parent9e80dbd87286d3252ac2f78c6465c16e2ec8d476
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: Matt Redfearn <matt.redfearn@imgtec.com>
Suggested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig