]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clocksource/drivers/moxart: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 3 Jun 2016 11:29:03 +0000 (13:29 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:08 +0000 (10:22 +0200)
commit419be9e36cf2349f15d0b7280ba46be6f9da7a61
tree6bb31a9a0cb1fe957696882f2d184f58840f4458
parentb56d5d218499404b2abfd6f33a6d480312bf8a92
clocksource/drivers/moxart: Add the COMPILE_TEST option

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

A new Kconfig option is added, CONFIG_MOXART_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-moxart/Kconfig
drivers/clocksource/Kconfig
drivers/clocksource/Makefile