]> git.karo-electronics.de Git - linux-beck.git/commit
clocksource/drivers/nspire: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 3 Jun 2016 13:03:21 +0000 (15:03 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:14 +0000 (10:22 +0200)
commitd683b9dcc8a8d743f7b660ff3b77ccfbe652e4b9
treeeb379652441171a5822d625d767c4ddac666afce
parent85f98db4adbbd3ec6b41537d31241b59bf47c66f
clocksource/drivers/nspire: Add the COMPILE_TEST option

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

A new Kconfig option is added, CONFIG_NSPIRE_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/mach-nspire/Kconfig
drivers/clocksource/Kconfig
drivers/clocksource/Makefile