[ARM] 4070/1: arch/arm/kernel: fix warnings from missing includes
[firefly-linux-kernel-4.4.55.git] / arch / arm / kernel / time.c
index 0c5a6091a93cbc7038eaad22c768a414ed9d4424..174cd4900bf937da2c566f09d2ba61ca28fe6cf3 100644 (file)
@@ -29,6 +29,8 @@
 #include <linux/timer.h>
 #include <linux/irq.h>
 
+#include <linux/mc146818rtc.h>
+
 #include <asm/leds.h>
 #include <asm/thread_info.h>
 #include <asm/mach/time.h>
@@ -220,10 +222,10 @@ EXPORT_SYMBOL(leds_event);
 #ifdef CONFIG_LEDS_TIMER
 static inline void do_leds(void)
 {
-       static unsigned int count = 50;
+       static unsigned int count = HZ/2;
 
        if (--count == 0) {
-               count = 50;
+               count = HZ/2;
                leds_event(led_timer);
        }
 }