ARM: shmobile: koelsch: Enable SCIF0 and SCIF1 serial ports in DT
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / mach-shmobile / setup-r8a7791.c
index 74a416e..04a96dd 100644 (file)
@@ -182,6 +182,11 @@ static const struct resource thermal_resources[] __initconst = {
 
 void __init r8a7791_add_dt_devices(void)
 {
+       r8a7791_register_cmt(0);
+}
+
+void __init r8a7791_add_standard_devices(void)
+{
        r8a7791_register_scif(0);
        r8a7791_register_scif(1);
        r8a7791_register_scif(2);
@@ -197,11 +202,6 @@ void __init r8a7791_add_dt_devices(void)
        r8a7791_register_scif(12);
        r8a7791_register_scif(13);
        r8a7791_register_scif(14);
-       r8a7791_register_cmt(0);
-}
-
-void __init r8a7791_add_standard_devices(void)
-{
        r8a7791_add_dt_devices();
        r8a7791_register_irqc(0);
        r8a7791_register_thermal();