Since ASV is not a hardware controller so we cann't add device tree node for it. This patch registers a static platform device exynos ASV. Signed-off-by: Yadwinder Singh Brar <yadi.brar@xxxxxxxxxxx> --- arch/arm/mach-exynos/mach-exynos5-dt.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index f874b77..5ce58e1 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c @@ -28,6 +28,7 @@ static void __init exynos5_dt_machine_init(void) struct device_node *i2c_np; const char *i2c_compat = "samsung,s3c2440-i2c"; unsigned int tmp; + struct platform_device_info devinfo = { .name = "exynos-asv", }; /* * Exynos5's legacy i2c controller and new high speed i2c @@ -48,6 +49,8 @@ static void __init exynos5_dt_machine_init(void) } of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); + + platform_device_register_full(&devinfo); } static char const *exynos5_dt_compat[] __initdata = { -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html