Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874Ab3IKLQA (ORCPT ); Wed, 11 Sep 2013 07:16:00 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:17962 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754492Ab3IKLO4 (ORCPT ); Wed, 11 Sep 2013 07:14:56 -0400 X-AuditID: cbfee691-b7f4a6d0000074fc-66-523050af1070 From: Yadwinder Singh Brar To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar , MyungJoo Ham , Kukjin Kim , Thomas Abraham , Tomasz Figa , Yadwinder Singh Brar Subject: [RFC 4/4] arm: exynos5: Register static platform device for ASV. Date: Wed, 11 Sep 2013 16:44:08 +0530 Message-id: <1378898048-25205-5-git-send-email-yadi.brar@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1378898048-25205-1-git-send-email-yadi.brar@samsung.com> References: <1378898048-25205-1-git-send-email-yadi.brar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42JZI2JSpbs+wCDI4PdnM4veBVfZLDY9vsZq cXnXHDaLGef3MVncblzBZtG/sJfJYv2M1ywWx2YsYbTY+NXDYs70d0wOXB53ru1h89i8pN6j b8sqRo9Hi1sYPT5vkgtgjeKySUnNySxLLdK3S+DKaDy4lrngJkfFpEmBDYyL2LsYOTkkBEwk fv5axAhhi0lcuLeerYuRi0NIYCmjxLPtZ1lhirZev88CkZjOKHFs2Tp2CKeNSWLJyX9ALRwc bAJGEq+O2YE0iAgoSGzufcYKUsMs8JxJ4uueuWwgCWEBT4nXr+8zgdgsAqoSj193gq3mFXCV +L52H9Q2BYnWZYfYQWZyCrhJrJliDxIWAiq5vfkUM8hMCYFt7BIrJ3WxQcwRkPg2+RALSL2E gKzEpgPMEGMkJQ6uuMEygVF4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UUelj/ 5ySJcBXRu3x7938vX3TbhtXu8Gq5WyvfnvVbqXLpqEzS1vLaM9NSXD+V3WNWNv19uYqh2lg9 M4XDb7JgqVFPwiXPn6Lr3YO5Td5UXJ4oM7H1+rprN9f/f/Y+Wrms68HHjJ02ry6Xcm4xfqvE UpyRaKjFXFScCAAlVoxs8gIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 37 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 --- 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/