linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH 76/92] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option
           [not found] <577251A4.7030508@linaro.org>
           [not found] ` <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org>
    @ 2016-06-28 10:51 ` Daniel Lezcano
      2016-06-28 10:51   ` [PATCH 77/92] clocksource/drivers/bcm_kona: " Daniel Lezcano
                         ` (10 more replies)
      1 sibling, 11 replies; 46+ messages in thread
    From: Daniel Lezcano @ 2016-06-28 10:51 UTC (permalink / raw)
      To: linux-arm-kernel
    
    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
    
    ^ permalink raw reply related	[flat|nested] 46+ messages in thread

  • end of thread, other threads:[~2016-06-28 10:51 UTC | newest]
    
    Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <577251A4.7030508@linaro.org>
         [not found] ` <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org>
    2016-06-28 10:30   ` [PATCH 02/92] clocksource/drivers/digicolor: Fix warning of non-static function Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 05/92] dt-bindings: Document rk3399 rk-timer bindings Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 06/92] clocksource/drivers/rockchip: Add the dynamic irq flag to the timer Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 07/92] clocksource/drivers/rockchip: Add support for the rk3399 SoC Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 08/92] arm64: dts: rockchip: Add rktimer device node for rk3399 Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 09/92] clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 13/92] clocksource/drivers/rockchip_timer: Convert init function to return error Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 14/92] clocksource/drivers/mtk_timer: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 15/92] clocksource/drivers/exynos_mct: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 17/92] clocksource/drivers/cadence_ttc: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 18/92] clocksource/drivers/st_lpc: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 20/92] clocksource/drivers/clps711x: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 21/92] clocksource/drivers/digicolor: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 22/92] clocksource/drivers/armv7m_systick: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 23/92] clocksource/drivers/bcm2835_timer: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 25/92] clocksource/drivers/clksrc-dbx500: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 28/92] clocksource/drivers/arm_global_timer: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 32/92] clocksource/drivers/meson6_timer.c: " Daniel Lezcano
    2016-06-28 10:30   ` [PATCH 35/92] clocksource/drivers/mps2-timer: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 41/92] clocksource/drivers/sun4i: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 45/92] clocksource/drivers/time-efm32: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 46/92] clocksource/drivers/time-lpc32xx: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 49/92] clocksource/drivers/atlas7: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 52/92] clocksource/drivers/prima2: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 55/92] clocksource/drivers/keystone: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 57/92] clocksource/drivers/stm32: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 58/92] clocksource/drivers/sun5i: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 60/92] clocksource/drivers/u300: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 61/92] clocksource/drivers/versatile: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 63/92] clocksource/drivers/vt8500: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 68/92] clocksource/drivers/smp_twd: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 71/92] clocksource/drivers/oxnas-rps: " Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 72/92] clocksources: Switch back to the clksrc table Daniel Lezcano
    2016-06-28 10:31   ` [PATCH 75/92] clocksource/drivers/bcm2835: Add the COMPILE_TEST option Daniel Lezcano
    2016-06-28 10:51 ` [PATCH 76/92] clocksource/drivers/armv7m_systick: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 77/92] clocksource/drivers/bcm_kona: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 78/92] clocksource/drivers/clps_711x: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 79/92] clocksource/drivers/atlas7: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 80/92] clocksource/drivers/moxart: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 82/92] clocksource/drivers/mxs: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 83/92] clocksource/drivers/prima2: Remove useless header <asm/mach/time.h> Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 84/92] clocksource/drivers/prima2: Add the COMPILE_TEST option Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 85/92] clocksource/drivers/u300: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 86/92] clocksource/drivers/nspire: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 87/92] clocksource/drivers/keystone: " Daniel Lezcano
    2016-06-28 10:51   ` [PATCH 88/92] clocksource/drivers/integrator-ap: " Daniel Lezcano
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).