diff options
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-lager-reference.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/r8a7790.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7790.c | 7 |
3 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c index 41c808e56005..2a05c02bec39 100644 --- a/arch/arm/mach-shmobile/board-lager-reference.c +++ b/arch/arm/mach-shmobile/board-lager-reference.c | |||
@@ -92,7 +92,6 @@ static void __init lager_add_du_device(void) | |||
92 | * devices until they get moved to DT. | 92 | * devices until they get moved to DT. |
93 | */ | 93 | */ |
94 | static const struct clk_name clk_names[] __initconst = { | 94 | static const struct clk_name clk_names[] __initconst = { |
95 | { "cmt0", "fck", "sh-cmt-48-gen2.0" }, | ||
96 | { "du0", "du.0", "rcar-du-r8a7790" }, | 95 | { "du0", "du.0", "rcar-du-r8a7790" }, |
97 | { "du1", "du.1", "rcar-du-r8a7790" }, | 96 | { "du1", "du.1", "rcar-du-r8a7790" }, |
98 | { "du2", "du.2", "rcar-du-r8a7790" }, | 97 | { "du2", "du.2", "rcar-du-r8a7790" }, |
@@ -103,7 +102,6 @@ static const struct clk_name clk_names[] __initconst = { | |||
103 | static void __init lager_add_standard_devices(void) | 102 | static void __init lager_add_standard_devices(void) |
104 | { | 103 | { |
105 | shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), false); | 104 | shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), false); |
106 | r8a7790_add_dt_devices(); | ||
107 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 105 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
108 | 106 | ||
109 | lager_add_du_device(); | 107 | lager_add_du_device(); |
diff --git a/arch/arm/mach-shmobile/r8a7790.h b/arch/arm/mach-shmobile/r8a7790.h index 459827f1369b..388f0514d931 100644 --- a/arch/arm/mach-shmobile/r8a7790.h +++ b/arch/arm/mach-shmobile/r8a7790.h | |||
@@ -27,7 +27,6 @@ enum { | |||
27 | }; | 27 | }; |
28 | 28 | ||
29 | void r8a7790_add_standard_devices(void); | 29 | void r8a7790_add_standard_devices(void); |
30 | void r8a7790_add_dt_devices(void); | ||
31 | void r8a7790_clock_init(void); | 30 | void r8a7790_clock_init(void); |
32 | void r8a7790_pinmux_init(void); | 31 | void r8a7790_pinmux_init(void); |
33 | void r8a7790_pm_init(void); | 32 | void r8a7790_pm_init(void); |
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index 0c12b01bb9e3..877fdeb985d0 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c | |||
@@ -282,11 +282,6 @@ static struct resource cmt0_resources[] = { | |||
282 | &cmt##idx##_platform_data, \ | 282 | &cmt##idx##_platform_data, \ |
283 | sizeof(struct sh_timer_config)) | 283 | sizeof(struct sh_timer_config)) |
284 | 284 | ||
285 | void __init r8a7790_add_dt_devices(void) | ||
286 | { | ||
287 | r8a7790_register_cmt(0); | ||
288 | } | ||
289 | |||
290 | void __init r8a7790_add_standard_devices(void) | 285 | void __init r8a7790_add_standard_devices(void) |
291 | { | 286 | { |
292 | r8a7790_register_scif(0); | 287 | r8a7790_register_scif(0); |
@@ -299,7 +294,7 @@ void __init r8a7790_add_standard_devices(void) | |||
299 | r8a7790_register_scif(7); | 294 | r8a7790_register_scif(7); |
300 | r8a7790_register_scif(8); | 295 | r8a7790_register_scif(8); |
301 | r8a7790_register_scif(9); | 296 | r8a7790_register_scif(9); |
302 | r8a7790_add_dt_devices(); | 297 | r8a7790_register_cmt(0); |
303 | r8a7790_register_irqc(0); | 298 | r8a7790_register_irqc(0); |
304 | r8a7790_register_thermal(); | 299 | r8a7790_register_thermal(); |
305 | r8a7790_register_i2c(0); | 300 | r8a7790_register_i2c(0); |