summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-dt-tegra30.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-28 16:29:19 -0600
committerStephen Warren <swarren@nvidia.com>2012-06-29 17:22:08 -0600
commit2553dcc6e603e3833990bd3a29bee98d1dbdf251 (patch)
tree4628d52ffecc40168e03f42e2e813a432587860c /arch/arm/mach-tegra/board-dt-tegra30.c
parentbd976e0307fbb3c715df944ded6b70a9fa8d6bb1 (diff)
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>
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra30.c')
-rw-r--r--arch/arm/mach-tegra/board-dt-tegra30.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra30.c b/arch/arm/mach-tegra/board-dt-tegra30.c
index 4a409862015f..ee48214bfd89 100644
--- a/arch/arm/mach-tegra/board-dt-tegra30.c
+++ b/arch/arm/mach-tegra/board-dt-tegra30.c
@@ -36,11 +36,6 @@
#include "board.h"
#include "clock.h"
-static struct of_device_id tegra_dt_match_table[] __initdata = {
- { .compatible = "simple-bus", },
- {}
-};
-
struct of_dev_auxdata tegra30_auxdata_lookup[] __initdata = {
OF_DEV_AUXDATA("nvidia,tegra20-sdhci", 0x78000000, "sdhci-tegra.0", NULL),
OF_DEV_AUXDATA("nvidia,tegra20-sdhci", 0x78000200, "sdhci-tegra.1", NULL),
@@ -75,7 +70,7 @@ static void __init tegra30_dt_init(void)
{
tegra_clk_init_from_table(tegra_dt_clk_init_table);
- of_platform_populate(NULL, tegra_dt_match_table,
+ of_platform_populate(NULL, of_default_bus_match_table,
tegra30_auxdata_lookup, NULL);
}