Message ID | 1296998250-21856-4-git-send-email-thomas.abraham@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/arch/arm/mach-s5pv310/mach-smdkv310-dt.c b/arch/arm/mach-s5pv310/mach-smdkv310-dt.c index 367fdb1..f81d88a 100644 --- a/arch/arm/mach-s5pv310/mach-smdkv310-dt.c +++ b/arch/arm/mach-s5pv310/mach-smdkv310-dt.c @@ -79,9 +79,15 @@ static void __init smdkv310_map_io(void) s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); } +static struct of_device_id smdkv310_dt_match_table[] __initdata = { + { .compatible = "simple-bus", }, + {}, +}; + static void __init smdkv310_machine_init(void) { platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); + of_platform_bus_probe(NULL, smdkv310_dt_match_table, NULL); } static char const *smdkv310_dt_compat[] = {
This patch adds support for probing devices from device tree for Samsung's SMDKV310 machine. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> --- arch/arm/mach-s5pv310/mach-smdkv310-dt.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)