diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-15 16:04:59 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-19 20:20:49 +0000 |
commit | 3207792e62498f872d64f12e2fc368aa9d7e3795 (patch) | |
tree | 5dea3810226e1ab99e4e6d1f61ce1509b8b8aeea /arch/arm/mach-kirkwood/board-dt.c | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | kernel_goldelico_gta04-3207792e62498f872d64f12e2fc368aa9d7e3795.zip kernel_goldelico_gta04-3207792e62498f872d64f12e2fc368aa9d7e3795.tar.gz kernel_goldelico_gta04-3207792e62498f872d64f12e2fc368aa9d7e3795.tar.bz2 |
arm: kirkwood: use the default of match table
mach-kirkwood/board-dt.c defines its own OF matching table, but in
fact, it is the same to the default of_default_bus_match_table[] which
is already used by mach-mvebu, mach-dove and mach-orion5x.
This patch therefore makes mach-kirkwood use the same default OF
matching table.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dt.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index e9647b8..a8dae11 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -25,11 +25,6 @@ #include <plat/common.h> #include "common.h" -static struct of_device_id kirkwood_dt_match_table[] __initdata = { - { .compatible = "simple-bus", }, - { } -}; - /* * There are still devices that doesn't know about DT yet. Get clock * gates here and add a clock lookup alias, so that old platform @@ -159,7 +154,7 @@ static void __init kirkwood_dt_init(void) if (of_machine_is_compatible("usi,topkick")) usi_topkick_init(); - of_platform_populate(NULL, kirkwood_dt_match_table, NULL, NULL); + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); } static const char * const kirkwood_dt_board_compat[] = { |