]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clocksource/drivers/integrator-ap: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 3 Jun 2016 13:11:21 +0000 (15:11 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:16 +0000 (10:22 +0200)
commit568c0342e494fa4c05377c6c83c653afa350985a
tree8433e272779c94b2130877d9cd27b7a0567cd1bc
parentc12547a00dfd3aaacfd5ce362ee4b9585c320054
clocksource/drivers/integrator-ap: Add the COMPILE_TEST option

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

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