diff options
-rw-r--r-- | arch/nios2/platform/platform.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/platform/platform.c b/arch/nios2/platform/platform.c index d478773f758a..2a35154ca153 100644 --- a/arch/nios2/platform/platform.c +++ b/arch/nios2/platform/platform.c | |||
@@ -9,7 +9,6 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/of_platform.h> | ||
13 | #include <linux/of_address.h> | 12 | #include <linux/of_address.h> |
14 | #include <linux/of_fdt.h> | 13 | #include <linux/of_fdt.h> |
15 | #include <linux/err.h> | 14 | #include <linux/err.h> |
@@ -39,8 +38,7 @@ static int __init nios2_soc_device_init(void) | |||
39 | } | 38 | } |
40 | } | 39 | } |
41 | 40 | ||
42 | return of_platform_populate(NULL, of_default_bus_match_table, | 41 | return 0; |
43 | NULL, NULL); | ||
44 | } | 42 | } |
45 | 43 | ||
46 | device_initcall(nios2_soc_device_init); | 44 | device_initcall(nios2_soc_device_init); |