aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/armv7m_systick.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-02 18:41:52 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:05 +0200
commite2146d8650764638784205cf51378f01bbd098b6 (patch)
tree52e72abdc548d1ee666bad0a9a4e3a98b15359c0 /drivers/clocksource/armv7m_systick.c
parentclocksource/drivers/bcm2835: Add the COMPILE_TEST option (diff)
downloadlinux-dev-e2146d8650764638784205cf51378f01bbd098b6.tar.xz
linux-dev-e2146d8650764638784205cf51378f01bbd098b6.zip
clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option
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>
Diffstat (limited to 'drivers/clocksource/armv7m_systick.c')
-rw-r--r--drivers/clocksource/armv7m_systick.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/armv7m_systick.c b/drivers/clocksource/armv7m_systick.c
index e93af1f6a36c..a315491b7047 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>