diff options
Diffstat (limited to 'arch/arc/plat-arcfpga/platform.c')
-rw-r--r-- | arch/arc/plat-arcfpga/platform.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c index 57bd24f6a4bd..b23d5fc59a48 100644 --- a/arch/arc/plat-arcfpga/platform.c +++ b/arch/arc/plat-arcfpga/platform.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/console.h> | 16 | #include <linux/console.h> |
17 | #include <linux/of_platform.h> | ||
18 | #include <asm/setup.h> | 17 | #include <asm/setup.h> |
19 | #include <asm/clk.h> | 18 | #include <asm/clk.h> |
20 | #include <asm/mach_desc.h> | 19 | #include <asm/mach_desc.h> |
@@ -31,15 +30,6 @@ static void __init plat_fpga_early_init(void) | |||
31 | #endif | 30 | #endif |
32 | } | 31 | } |
33 | 32 | ||
34 | static void __init plat_fpga_populate_dev(void) | ||
35 | { | ||
36 | /* | ||
37 | * Traverses flattened DeviceTree - registering platform devices | ||
38 | * (if any) complete with their resources | ||
39 | */ | ||
40 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
41 | } | ||
42 | |||
43 | /*----------------------- Machine Descriptions ------------------------------ | 33 | /*----------------------- Machine Descriptions ------------------------------ |
44 | * | 34 | * |
45 | * Machine description is simply a set of platform/board specific callbacks | 35 | * Machine description is simply a set of platform/board specific callbacks |
@@ -57,7 +47,6 @@ static const char *legacy_fpga_compat[] __initconst = { | |||
57 | MACHINE_START(LEGACY_FPGA, "legacy_fpga") | 47 | MACHINE_START(LEGACY_FPGA, "legacy_fpga") |
58 | .dt_compat = legacy_fpga_compat, | 48 | .dt_compat = legacy_fpga_compat, |
59 | .init_early = plat_fpga_early_init, | 49 | .init_early = plat_fpga_early_init, |
60 | .init_machine = plat_fpga_populate_dev, | ||
61 | #ifdef CONFIG_ISS_SMP_EXTN | 50 | #ifdef CONFIG_ISS_SMP_EXTN |
62 | .init_smp = iss_model_init_smp, | 51 | .init_smp = iss_model_init_smp, |
63 | #endif | 52 | #endif |
@@ -71,5 +60,4 @@ static const char *simulation_compat[] __initconst = { | |||
71 | 60 | ||
72 | MACHINE_START(SIMULATION, "simulation") | 61 | MACHINE_START(SIMULATION, "simulation") |
73 | .dt_compat = simulation_compat, | 62 | .dt_compat = simulation_compat, |
74 | .init_machine = plat_fpga_populate_dev, | ||
75 | MACHINE_END | 63 | MACHINE_END |