OSDN Git Service

h8300: enable CLKSRC_OF for-4.4
authorYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 3 Nov 2015 17:10:09 +0000 (02:10 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Thu, 12 Nov 2015 03:18:25 +0000 (12:18 +0900)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/Kconfig
arch/h8300/kernel/setup.c

index db58916..dd3ac75 100644 (file)
@@ -16,6 +16,7 @@ config H8300
        select OF_EARLY_FLATTREE
        select HAVE_MEMBLOCK
        select HAVE_DMA_ATTRS
+       select CLKSRC_OF
 
 config RWSEM_GENERIC_SPINLOCK
        def_bool y
index 0fd1fe6..c772abe 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/clk-provider.h>
 #include <linux/memblock.h>
 #include <linux/screen_info.h>
+#include <linux/clocksource.h>
 
 #include <asm/setup.h>
 #include <asm/irq.h>
@@ -252,4 +253,5 @@ void __init calibrate_delay(void)
 void __init time_init(void)
 {
        of_clk_init(NULL);
+       clocksource_probe();
 }