]> git.karo-electronics.de Git - linux-beck.git/commit
clocksource/drivers/clps_711x: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 Jun 2016 18:06:54 +0000 (20:06 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:07 +0000 (10:22 +0200)
commitecf0efdc98cd46886fa119492f052ab3eaba9ddf
tree9108a4a52d56d2eeb7b3cd75a43725713ef272b8
parent1cad71e35f88bd41b954e9984c7d2a8ce3924db0
clocksource/drivers/clps_711x: Add the COMPILE_TEST option

Change the Kconfig option logic to fullfil with the current approach.

A new Kconfig option is added, CONFIG_CLPS711X_TIMER and is selected by the
platform. Then the clocksource's Kconfig is changed to make this option
selectable by the user if the COMPILE_TEST option is set. Otherwise, it is
up to the platform's Kconfig to select the timer.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/Kconfig
drivers/clocksource/Kconfig
drivers/clocksource/Makefile