Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432829
| From | Daniel Lezcano <daniel.lezcano@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 76/92] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option |
| Date | 2016-06-28 13:00 +0200 |
| Message-ID | <rOYUh-5RL-9@gated-at.bofh.it> (permalink) |
| References | <rOYAV-5IE-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
In order to increase the compilation test coverage, add the COMPILE_TEST so the driver can be compiled even if it does not belong to the platform or the architecture. The io.h header inclusion is also added as it the driver does not compile on UM platform. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- drivers/clocksource/Kconfig | 2 +- drivers/clocksource/armv7m_systick.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 0275b16..01ecd88 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -250,7 +250,7 @@ config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK Use ARM global timer clock source as sched_clock config ARMV7M_SYSTICK - bool + bool "Support for the ARMv7M system time" if COMPILE_TEST select CLKSRC_OF if OF select CLKSRC_MMIO help diff --git a/drivers/clocksource/armv7m_systick.c b/drivers/clocksource/armv7m_systick.c index e93af1f..a315491 100644 --- a/drivers/clocksource/armv7m_systick.c +++ b/drivers/clocksource/armv7m_systick.c @@ -7,6 +7,7 @@ #include <linux/kernel.h> #include <linux/clocksource.h> #include <linux/clockchips.h> +#include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/clk.h> -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 76/92] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 91/92] clocksource/drivers/versatile: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 88/92] clocksource/drivers/integrator-ap: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 83/92] clocksource/drivers/prima2: Remove useless header <asm/mach/time.h> Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 80/92] clocksource/drivers/moxart: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 79/92] clocksource/drivers/atlas7: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 84/92] clocksource/drivers/prima2: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 89/92] clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 82/92] clocksource/drivers/mxs: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 78/92] clocksource/drivers/clps_711x: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200 [PATCH 77/92] clocksource/drivers/bcm_kona: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200
csiph-web