.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2013 Freescale Semiconductor, Inc. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
7 | | - * |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #include <linux/irqchip.h> |
---|
11 | | -#include <linux/of.h> |
---|
12 | 7 | #include <linux/of_platform.h> |
---|
13 | 8 | #include <linux/mfd/syscon.h> |
---|
14 | 9 | #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> |
---|
.. | .. |
---|
50 | 45 | |
---|
51 | 46 | static void __init imx6sl_init_machine(void) |
---|
52 | 47 | { |
---|
53 | | - struct device *parent; |
---|
54 | | - |
---|
55 | | - parent = imx_soc_device_init(); |
---|
56 | | - if (parent == NULL) |
---|
57 | | - pr_warn("failed to initialize soc device\n"); |
---|
58 | | - |
---|
59 | | - of_platform_default_populate(NULL, NULL, parent); |
---|
| 48 | + of_platform_default_populate(NULL, NULL, NULL); |
---|
60 | 49 | |
---|
61 | 50 | if (cpu_is_imx6sl()) |
---|
62 | 51 | imx6sl_fec_init(); |
---|