Merge tag 'nios2-v4.2' of git://git.rocketboards.org/linux-socfpga-next
[cascardo/linux.git] / arch / nios2 / kernel / time.c
index bea8839..9e3cc8a 100644 (file)
@@ -8,6 +8,7 @@
  * for more details.
  */
 
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/clockchips.h>
 #include <linux/clocksource.h>
@@ -108,6 +109,7 @@ cycles_t get_cycles(void)
 {
        return nios2_timer_read(&nios2_cs.cs);
 }
+EXPORT_SYMBOL(get_cycles);
 
 static void nios2_timer_start(struct nios2_timer *timer)
 {