diff options
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/sama5.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-cns3xxx/core.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sl.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_ap.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-lpc32xx/phy3250.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/kirkwood.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-nspire/nspire.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/board-dt.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear300.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear310.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear320.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-spear/spear6xx.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-u300/core.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-versatile/versatile_dt.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-zynq/common.c | 2 |
22 files changed, 22 insertions, 35 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index 63b4fa25b48a..d068ec3cd1f6 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -30,7 +30,7 @@ static void __init at91rm9200_dt_device_init(void) | |||
30 | if (soc != NULL) | 30 | if (soc != NULL) |
31 | soc_dev = soc_device_to_device(soc); | 31 | soc_dev = soc_device_to_device(soc); |
32 | 32 | ||
33 | of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); | 33 | of_platform_default_populate(NULL, NULL, soc_dev); |
34 | 34 | ||
35 | at91rm9200_pm_init(); | 35 | at91rm9200_pm_init(); |
36 | } | 36 | } |
diff --git a/arch/arm/mach-at91/at91sam9.c b/arch/arm/mach-at91/at91sam9.c index cada2a6412b3..ba28e9cc584d 100644 --- a/arch/arm/mach-at91/at91sam9.c +++ b/arch/arm/mach-at91/at91sam9.c | |||
@@ -61,7 +61,7 @@ static void __init at91sam9_common_init(void) | |||
61 | if (soc != NULL) | 61 | if (soc != NULL) |
62 | soc_dev = soc_device_to_device(soc); | 62 | soc_dev = soc_device_to_device(soc); |
63 | 63 | ||
64 | of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); | 64 | of_platform_default_populate(NULL, NULL, soc_dev); |
65 | } | 65 | } |
66 | 66 | ||
67 | static void __init at91sam9_dt_device_init(void) | 67 | static void __init at91sam9_dt_device_init(void) |
diff --git a/arch/arm/mach-at91/sama5.c b/arch/arm/mach-at91/sama5.c index 922b85f07cd2..b272c45b400f 100644 --- a/arch/arm/mach-at91/sama5.c +++ b/arch/arm/mach-at91/sama5.c | |||
@@ -68,7 +68,7 @@ static void __init sama5_dt_device_init(void) | |||
68 | if (soc != NULL) | 68 | if (soc != NULL) |
69 | soc_dev = soc_device_to_device(soc); | 69 | soc_dev = soc_device_to_device(soc); |
70 | 70 | ||
71 | of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); | 71 | of_platform_default_populate(NULL, NULL, soc_dev); |
72 | sama5_pm_init(); | 72 | sama5_pm_init(); |
73 | } | 73 | } |
74 | 74 | ||
diff --git a/arch/arm/mach-cns3xxx/core.c b/arch/arm/mach-cns3xxx/core.c index 9b1dc223d8d3..03da3813f1ab 100644 --- a/arch/arm/mach-cns3xxx/core.c +++ b/arch/arm/mach-cns3xxx/core.c | |||
@@ -395,8 +395,7 @@ static void __init cns3xxx_init(void) | |||
395 | 395 | ||
396 | pm_power_off = cns3xxx_power_off; | 396 | pm_power_off = cns3xxx_power_off; |
397 | 397 | ||
398 | of_platform_populate(NULL, of_default_bus_match_table, | 398 | of_platform_default_populate(NULL, cns3xxx_auxdata, NULL); |
399 | cns3xxx_auxdata, NULL); | ||
400 | } | 399 | } |
401 | 400 | ||
402 | static const char *const cns3xxx_dt_compat[] __initconst = { | 401 | static const char *const cns3xxx_dt_compat[] __initconst = { |
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index cb27d566d5ab..e3940707eeb8 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -278,7 +278,7 @@ static void __init imx6q_init_machine(void) | |||
278 | 278 | ||
279 | imx6q_enet_phy_init(); | 279 | imx6q_enet_phy_init(); |
280 | 280 | ||
281 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 281 | of_platform_default_populate(NULL, NULL, parent); |
282 | 282 | ||
283 | imx_anatop_init(); | 283 | imx_anatop_init(); |
284 | cpu_is_imx6q() ? imx6q_pm_init() : imx6dl_pm_init(); | 284 | cpu_is_imx6q() ? imx6q_pm_init() : imx6dl_pm_init(); |
diff --git a/arch/arm/mach-imx/mach-imx6sl.c b/arch/arm/mach-imx/mach-imx6sl.c index 300326373166..37ae87d6e0e9 100644 --- a/arch/arm/mach-imx/mach-imx6sl.c +++ b/arch/arm/mach-imx/mach-imx6sl.c | |||
@@ -52,7 +52,7 @@ static void __init imx6sl_init_machine(void) | |||
52 | if (parent == NULL) | 52 | if (parent == NULL) |
53 | pr_warn("failed to initialize soc device\n"); | 53 | pr_warn("failed to initialize soc device\n"); |
54 | 54 | ||
55 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 55 | of_platform_default_populate(NULL, NULL, parent); |
56 | 56 | ||
57 | imx6sl_fec_init(); | 57 | imx6sl_fec_init(); |
58 | imx_anatop_init(); | 58 | imx_anatop_init(); |
diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c index 6a0b0614de29..107cfc15282b 100644 --- a/arch/arm/mach-imx/mach-imx6sx.c +++ b/arch/arm/mach-imx/mach-imx6sx.c | |||
@@ -72,7 +72,7 @@ static void __init imx6sx_init_machine(void) | |||
72 | if (parent == NULL) | 72 | if (parent == NULL) |
73 | pr_warn("failed to initialize soc device\n"); | 73 | pr_warn("failed to initialize soc device\n"); |
74 | 74 | ||
75 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 75 | of_platform_default_populate(NULL, NULL, parent); |
76 | 76 | ||
77 | imx6sx_enet_init(); | 77 | imx6sx_enet_init(); |
78 | imx_anatop_init(); | 78 | imx_anatop_init(); |
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 2b118f20c62c..c7bb83205f5b 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -240,8 +240,7 @@ static void __init ap_init_of(void) | |||
240 | if (!ebi_base) | 240 | if (!ebi_base) |
241 | return; | 241 | return; |
242 | 242 | ||
243 | of_platform_populate(NULL, of_default_bus_match_table, | 243 | of_platform_default_populate(NULL, ap_auxdata_lookup, NULL); |
244 | ap_auxdata_lookup, NULL); | ||
245 | 244 | ||
246 | sc_dec = readl(ap_syscon_base + INTEGRATOR_SC_DEC_OFFSET); | 245 | sc_dec = readl(ap_syscon_base + INTEGRATOR_SC_DEC_OFFSET); |
247 | for (i = 0; i < 4; i++) { | 246 | for (i = 0; i < 4; i++) { |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 6f6b051e81e0..825298349bf5 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -231,8 +231,7 @@ static void __init intcp_init_of(void) | |||
231 | if (!intcp_con_base) | 231 | if (!intcp_con_base) |
232 | return; | 232 | return; |
233 | 233 | ||
234 | of_platform_populate(NULL, of_default_bus_match_table, | 234 | of_platform_default_populate(NULL, intcp_auxdata_lookup, NULL); |
235 | intcp_auxdata_lookup, NULL); | ||
236 | } | 235 | } |
237 | 236 | ||
238 | static const char * intcp_dt_board_compat[] = { | 237 | static const char * intcp_dt_board_compat[] = { |
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index 81265e80302d..0e4cbbe980eb 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc32xx/phy3250.c | |||
@@ -191,8 +191,7 @@ static void __init lpc3250_machine_init(void) | |||
191 | LPC32XX_CLKPWR_TESTCLK_TESTCLK2_EN, | 191 | LPC32XX_CLKPWR_TESTCLK_TESTCLK2_EN, |
192 | LPC32XX_CLKPWR_TEST_CLK_SEL); | 192 | LPC32XX_CLKPWR_TEST_CLK_SEL); |
193 | 193 | ||
194 | of_platform_populate(NULL, of_default_bus_match_table, | 194 | of_platform_default_populate(NULL, lpc32xx_auxdata_lookup, NULL); |
195 | lpc32xx_auxdata_lookup, NULL); | ||
196 | } | 195 | } |
197 | 196 | ||
198 | static const char *const lpc32xx_dt_compat[] __initconst = { | 197 | static const char *const lpc32xx_dt_compat[] __initconst = { |
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index f9d8e1ea7183..8f459ee34e6f 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c | |||
@@ -179,7 +179,7 @@ static void __init kirkwood_dt_init(void) | |||
179 | kirkwood_pm_init(); | 179 | kirkwood_pm_init(); |
180 | kirkwood_dt_eth_fixup(); | 180 | kirkwood_dt_eth_fixup(); |
181 | 181 | ||
182 | of_platform_populate(NULL, of_default_bus_match_table, auxdata, NULL); | 182 | of_platform_default_populate(NULL, auxdata, NULL); |
183 | } | 183 | } |
184 | 184 | ||
185 | static const char * const kirkwood_dt_board_compat[] __initconst = { | 185 | static const char * const kirkwood_dt_board_compat[] __initconst = { |
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index f1ea4700efcf..0b7fe74ff46d 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
@@ -498,8 +498,7 @@ static void __init mxs_machine_init(void) | |||
498 | else if (of_machine_is_compatible("msr,m28cu3")) | 498 | else if (of_machine_is_compatible("msr,m28cu3")) |
499 | m28cu3_init(); | 499 | m28cu3_init(); |
500 | 500 | ||
501 | of_platform_populate(NULL, of_default_bus_match_table, | 501 | of_platform_default_populate(NULL, NULL, parent); |
502 | NULL, parent); | ||
503 | 502 | ||
504 | mxs_restart_init(); | 503 | mxs_restart_init(); |
505 | 504 | ||
diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 34c2a1b32e7d..f0808fcc5acc 100644 --- a/arch/arm/mach-nspire/nspire.c +++ b/arch/arm/mach-nspire/nspire.c | |||
@@ -57,8 +57,7 @@ static struct of_dev_auxdata nspire_auxdata[] __initdata = { | |||
57 | 57 | ||
58 | static void __init nspire_init(void) | 58 | static void __init nspire_init(void) |
59 | { | 59 | { |
60 | of_platform_populate(NULL, of_default_bus_match_table, | 60 | of_platform_default_populate(NULL, nspire_auxdata, NULL); |
61 | nspire_auxdata, NULL); | ||
62 | } | 61 | } |
63 | 62 | ||
64 | static void nspire_restart(enum reboot_mode mode, const char *cmd) | 63 | static void nspire_restart(enum reboot_mode mode, const char *cmd) |
diff --git a/arch/arm/mach-orion5x/board-dt.c b/arch/arm/mach-orion5x/board-dt.c index 6f4c2c4ae2a5..3d36f1d95196 100644 --- a/arch/arm/mach-orion5x/board-dt.c +++ b/arch/arm/mach-orion5x/board-dt.c | |||
@@ -63,8 +63,7 @@ static void __init orion5x_dt_init(void) | |||
63 | if (of_machine_is_compatible("maxtor,shared-storage-2")) | 63 | if (of_machine_is_compatible("maxtor,shared-storage-2")) |
64 | mss2_init(); | 64 | mss2_init(); |
65 | 65 | ||
66 | of_platform_populate(NULL, of_default_bus_match_table, | 66 | of_platform_default_populate(NULL, orion5x_auxdata_lookup, NULL); |
67 | orion5x_auxdata_lookup, NULL); | ||
68 | } | 67 | } |
69 | 68 | ||
70 | static const char *orion5x_dt_compat[] = { | 69 | static const char *orion5x_dt_compat[] = { |
diff --git a/arch/arm/mach-spear/spear300.c b/arch/arm/mach-spear/spear300.c index 5b32edda2276..325b89579be1 100644 --- a/arch/arm/mach-spear/spear300.c +++ b/arch/arm/mach-spear/spear300.c | |||
@@ -194,8 +194,7 @@ static void __init spear300_dt_init(void) | |||
194 | pl080_plat_data.slave_channels = spear300_dma_info; | 194 | pl080_plat_data.slave_channels = spear300_dma_info; |
195 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear300_dma_info); | 195 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear300_dma_info); |
196 | 196 | ||
197 | of_platform_populate(NULL, of_default_bus_match_table, | 197 | of_platform_default_populate(NULL, spear300_auxdata_lookup, NULL); |
198 | spear300_auxdata_lookup, NULL); | ||
199 | } | 198 | } |
200 | 199 | ||
201 | static const char * const spear300_dt_board_compat[] = { | 200 | static const char * const spear300_dt_board_compat[] = { |
diff --git a/arch/arm/mach-spear/spear310.c b/arch/arm/mach-spear/spear310.c index 86a44ac7ff67..59e173dc85cf 100644 --- a/arch/arm/mach-spear/spear310.c +++ b/arch/arm/mach-spear/spear310.c | |||
@@ -236,8 +236,7 @@ static void __init spear310_dt_init(void) | |||
236 | pl080_plat_data.slave_channels = spear310_dma_info; | 236 | pl080_plat_data.slave_channels = spear310_dma_info; |
237 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear310_dma_info); | 237 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear310_dma_info); |
238 | 238 | ||
239 | of_platform_populate(NULL, of_default_bus_match_table, | 239 | of_platform_default_populate(NULL, spear310_auxdata_lookup, NULL); |
240 | spear310_auxdata_lookup, NULL); | ||
241 | } | 240 | } |
242 | 241 | ||
243 | static const char * const spear310_dt_board_compat[] = { | 242 | static const char * const spear310_dt_board_compat[] = { |
diff --git a/arch/arm/mach-spear/spear320.c b/arch/arm/mach-spear/spear320.c index d45d751926c5..0958f68a21e2 100644 --- a/arch/arm/mach-spear/spear320.c +++ b/arch/arm/mach-spear/spear320.c | |||
@@ -240,8 +240,7 @@ static void __init spear320_dt_init(void) | |||
240 | pl080_plat_data.slave_channels = spear320_dma_info; | 240 | pl080_plat_data.slave_channels = spear320_dma_info; |
241 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear320_dma_info); | 241 | pl080_plat_data.num_slave_channels = ARRAY_SIZE(spear320_dma_info); |
242 | 242 | ||
243 | of_platform_populate(NULL, of_default_bus_match_table, | 243 | of_platform_default_populate(NULL, spear320_auxdata_lookup, NULL); |
244 | spear320_auxdata_lookup, NULL); | ||
245 | } | 244 | } |
246 | 245 | ||
247 | static const char * const spear320_dt_board_compat[] = { | 246 | static const char * const spear320_dt_board_compat[] = { |
diff --git a/arch/arm/mach-spear/spear6xx.c b/arch/arm/mach-spear/spear6xx.c index da26fa5b68d7..ccf3573b831c 100644 --- a/arch/arm/mach-spear/spear6xx.c +++ b/arch/arm/mach-spear/spear6xx.c | |||
@@ -411,8 +411,7 @@ struct of_dev_auxdata spear6xx_auxdata_lookup[] __initdata = { | |||
411 | 411 | ||
412 | static void __init spear600_dt_init(void) | 412 | static void __init spear600_dt_init(void) |
413 | { | 413 | { |
414 | of_platform_populate(NULL, of_default_bus_match_table, | 414 | of_platform_default_populate(NULL, spear6xx_auxdata_lookup, NULL); |
415 | spear6xx_auxdata_lookup, NULL); | ||
416 | } | 415 | } |
417 | 416 | ||
418 | static const char *spear600_dt_board_compat[] = { | 417 | static const char *spear600_dt_board_compat[] = { |
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index 2378fa560a21..6745a657d261 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c | |||
@@ -115,7 +115,7 @@ static void __init tegra_dt_init(void) | |||
115 | * devices | 115 | * devices |
116 | */ | 116 | */ |
117 | out: | 117 | out: |
118 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 118 | of_platform_default_populate(NULL, NULL, parent); |
119 | } | 119 | } |
120 | 120 | ||
121 | static void __init paz00_init(void) | 121 | static void __init paz00_init(void) |
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 546338bbacf8..a4910ea6811a 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -391,8 +391,7 @@ static void __init u300_init_machine_dt(void) | |||
391 | pinctrl_register_mappings(u300_pinmux_map, | 391 | pinctrl_register_mappings(u300_pinmux_map, |
392 | ARRAY_SIZE(u300_pinmux_map)); | 392 | ARRAY_SIZE(u300_pinmux_map)); |
393 | 393 | ||
394 | of_platform_populate(NULL, of_default_bus_match_table, | 394 | of_platform_default_populate(NULL, u300_auxdata_lookup, NULL); |
395 | u300_auxdata_lookup, NULL); | ||
396 | 395 | ||
397 | /* Enable SEMI self refresh */ | 396 | /* Enable SEMI self refresh */ |
398 | val = readw(syscon_base + U300_SYSCON_SMCR) | | 397 | val = readw(syscon_base + U300_SYSCON_SMCR) | |
diff --git a/arch/arm/mach-versatile/versatile_dt.c b/arch/arm/mach-versatile/versatile_dt.c index d643b9210dbd..3c8d39c12909 100644 --- a/arch/arm/mach-versatile/versatile_dt.c +++ b/arch/arm/mach-versatile/versatile_dt.c | |||
@@ -344,8 +344,7 @@ static void __init versatile_dt_init(void) | |||
344 | 344 | ||
345 | versatile_dt_pci_init(); | 345 | versatile_dt_pci_init(); |
346 | 346 | ||
347 | of_platform_populate(NULL, of_default_bus_match_table, | 347 | of_platform_default_populate(NULL, versatile_auxdata_lookup, NULL); |
348 | versatile_auxdata_lookup, NULL); | ||
349 | } | 348 | } |
350 | 349 | ||
351 | static const char *const versatile_dt_match[] __initconst = { | 350 | static const char *const versatile_dt_match[] __initconst = { |
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index da876d28ccbc..d12002cd63bc 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
@@ -141,7 +141,7 @@ out: | |||
141 | * Finished with the static registrations now; fill in the missing | 141 | * Finished with the static registrations now; fill in the missing |
142 | * devices | 142 | * devices |
143 | */ | 143 | */ |
144 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 144 | of_platform_default_populate(NULL, NULL, parent); |
145 | 145 | ||
146 | platform_device_register(&zynq_cpuidle_device); | 146 | platform_device_register(&zynq_cpuidle_device); |
147 | } | 147 | } |