1
0

ARM: tegra: use of_default_bus_match_table

of_default_bus_match_table is a table of default bus types supported by
of_platform_populate(). Since Tegra has no need to support any specific
custom list of bus types, modify the DT board files to use this default
list.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Este cometimento está contido em:
Stephen Warren
2012-06-28 16:29:19 -06:00
ascendente bd976e0307
cometimento 2553dcc6e6
2 ficheiros modificados com 2 adições e 12 eliminações

Ver ficheiro

@@ -82,11 +82,6 @@ static __initdata struct tegra_clk_init_table tegra_dt_clk_init_table[] = {
{ NULL, NULL, 0, 0},
};
static struct of_device_id tegra_dt_match_table[] __initdata = {
{ .compatible = "simple-bus", },
{}
};
static void __init tegra_dt_init(void)
{
tegra_clk_init_from_table(tegra_dt_clk_init_table);
@@ -95,7 +90,7 @@ static void __init tegra_dt_init(void)
* Finished with the static registrations now; fill in the missing
* devices
*/
of_platform_populate(NULL, tegra_dt_match_table,
of_platform_populate(NULL, of_default_bus_match_table,
tegra20_auxdata_lookup, NULL);
}