diff options
Diffstat (limited to 'arch/arm/mach-imx/imx51-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx51-dt.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index d4067fe36357..f233b4bb2342 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/irq.h> | 13 | #include <linux/irq.h> |
14 | #include <linux/of_irq.h> | 14 | #include <linux/of_irq.h> |
15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
16 | #include <linux/pinctrl/machine.h> | ||
17 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
18 | #include <asm/mach/time.h> | 17 | #include <asm/mach/time.h> |
19 | #include <mach/common.h> | 18 | #include <mach/common.h> |
@@ -44,27 +43,8 @@ static const struct of_dev_auxdata imx51_auxdata_lookup[] __initconst = { | |||
44 | { /* sentinel */ } | 43 | { /* sentinel */ } |
45 | }; | 44 | }; |
46 | 45 | ||
47 | static const struct of_device_id imx51_iomuxc_of_match[] __initconst = { | ||
48 | { .compatible = "fsl,imx51-iomuxc-babbage", .data = imx51_babbage_common_init, }, | ||
49 | { /* sentinel */ } | ||
50 | }; | ||
51 | |||
52 | static void __init imx51_dt_init(void) | 46 | static void __init imx51_dt_init(void) |
53 | { | 47 | { |
54 | struct device_node *node; | ||
55 | const struct of_device_id *of_id; | ||
56 | void (*func)(void); | ||
57 | |||
58 | pinctrl_provide_dummies(); | ||
59 | |||
60 | node = of_find_matching_node(NULL, imx51_iomuxc_of_match); | ||
61 | if (node) { | ||
62 | of_id = of_match_node(imx51_iomuxc_of_match, node); | ||
63 | func = of_id->data; | ||
64 | func(); | ||
65 | of_node_put(node); | ||
66 | } | ||
67 | |||
68 | of_platform_populate(NULL, of_default_bus_match_table, | 48 | of_platform_populate(NULL, of_default_bus_match_table, |
69 | imx51_auxdata_lookup, NULL); | 49 | imx51_auxdata_lookup, NULL); |
70 | } | 50 | } |
@@ -79,7 +59,6 @@ static struct sys_timer imx51_timer = { | |||
79 | }; | 59 | }; |
80 | 60 | ||
81 | static const char *imx51_dt_board_compat[] __initdata = { | 61 | static const char *imx51_dt_board_compat[] __initdata = { |
82 | "fsl,imx51-babbage", | ||
83 | "fsl,imx51", | 62 | "fsl,imx51", |
84 | NULL | 63 | NULL |
85 | }; | 64 | }; |