diff options
| -rw-r--r-- | arch/arm/mach-sunxi/sunxi.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index 0c236c0be358..ff2e6a404dab 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sunxi/sunxi.c | |||
| @@ -12,15 +12,9 @@ | |||
| 12 | 12 | ||
| 13 | #include <linux/clk-provider.h> | 13 | #include <linux/clk-provider.h> |
| 14 | #include <linux/clocksource.h> | 14 | #include <linux/clocksource.h> |
| 15 | #include <linux/of_platform.h> | ||
| 16 | 15 | ||
| 17 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
| 18 | 17 | ||
| 19 | static void __init sunxi_dt_init(void) | ||
| 20 | { | ||
| 21 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
| 22 | } | ||
| 23 | |||
| 24 | static const char * const sunxi_board_dt_compat[] = { | 18 | static const char * const sunxi_board_dt_compat[] = { |
| 25 | "allwinner,sun4i-a10", | 19 | "allwinner,sun4i-a10", |
| 26 | "allwinner,sun5i-a10s", | 20 | "allwinner,sun5i-a10s", |
| @@ -29,7 +23,6 @@ static const char * const sunxi_board_dt_compat[] = { | |||
| 29 | }; | 23 | }; |
| 30 | 24 | ||
| 31 | DT_MACHINE_START(SUNXI_DT, "Allwinner A1X (Device Tree)") | 25 | DT_MACHINE_START(SUNXI_DT, "Allwinner A1X (Device Tree)") |
| 32 | .init_machine = sunxi_dt_init, | ||
| 33 | .dt_compat = sunxi_board_dt_compat, | 26 | .dt_compat = sunxi_board_dt_compat, |
| 34 | MACHINE_END | 27 | MACHINE_END |
| 35 | 28 | ||
| @@ -47,7 +40,6 @@ static void __init sun6i_timer_init(void) | |||
| 47 | } | 40 | } |
| 48 | 41 | ||
| 49 | DT_MACHINE_START(SUN6I_DT, "Allwinner sun6i (A31) Family") | 42 | DT_MACHINE_START(SUN6I_DT, "Allwinner sun6i (A31) Family") |
| 50 | .init_machine = sunxi_dt_init, | ||
| 51 | .init_time = sun6i_timer_init, | 43 | .init_time = sun6i_timer_init, |
| 52 | .dt_compat = sun6i_board_dt_compat, | 44 | .dt_compat = sun6i_board_dt_compat, |
| 53 | MACHINE_END | 45 | MACHINE_END |
| @@ -58,6 +50,5 @@ static const char * const sun7i_board_dt_compat[] = { | |||
| 58 | }; | 50 | }; |
| 59 | 51 | ||
| 60 | DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family") | 52 | DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family") |
| 61 | .init_machine = sunxi_dt_init, | ||
| 62 | .dt_compat = sun7i_board_dt_compat, | 53 | .dt_compat = sun7i_board_dt_compat, |
| 63 | MACHINE_END | 54 | MACHINE_END |
