From patchwork Thu Jul 5 09:01:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9830 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6665023EB4 for ; Thu, 5 Jul 2012 09:14:41 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2FA73A1824B for ; Thu, 5 Jul 2012 09:14:41 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so7740867ggn.11 for ; Thu, 05 Jul 2012 02:14:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=E+3G6EZ7ztWVPMHxW+28Szb7YHA8mR7jJooPnJaECHk=; b=mIpM6BLWBFgJfwASF2WxOfTcXF+kAsvMWYgWcu2QGyG1IXkjGPpfY65Xm5dV5y3KfN 81UgxIV3KnmyGgg/cpgXJv2fVSrwOtU/UVc4w5nc3owIULVJ/ecrTzIdKqi/TkFWL4jn KI7eR3YKWiW6o/m+pnIKYCc/rrqQ2vLxiwoFD4uDuJvCUdzsoKWTNdAG+PCV8+a6IXyV czlPjkt1SuIayGjQqtdbb6I+Gm5eyJDqFQA2huayZJiptukNOiXfnK6Nr7dE2h+3AxU8 CtpYWMJg4v9EJDAbaWyhvDD/3p7iUWrsFtUpQil2p88WZyON4v4X7OtD86DJdcWAWZqR Q5TQ== Received: by 10.50.57.167 with SMTP id j7mr13316374igq.53.1341479680687; Thu, 05 Jul 2012 02:14:40 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp62769ibb; Thu, 5 Jul 2012 02:14:40 -0700 (PDT) Received: by 10.68.195.202 with SMTP id ig10mr26235777pbc.37.1341479680011; Thu, 05 Jul 2012 02:14:40 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id ug10si36921259pbc.125.2012.07.05.02.14.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f50.google.com with SMTP id rr4so14763326pbb.37 for ; Thu, 05 Jul 2012 02:14:39 -0700 (PDT) Received: by 10.68.219.135 with SMTP id po7mr25928327pbc.149.1341479679767; Thu, 05 Jul 2012 02:14:39 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id gj8sm19422570pbc.39.2012.07.05.02.14.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:39 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, m.szyprowski@samsung.com, kyungmin.park@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/3] ARM: EXYNOS: Add audio platform device in SMDKV310 board Date: Thu, 5 Jul 2012 14:31:56 +0530 Message-Id: <1341478918-6602-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1341478918-6602-1-git-send-email-sachin.kamat@linaro.org> References: <1341478918-6602-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkg2jW9RILStTsMV6X8quLnxicExMsCkTNwrr6SUJ6RJOcDuokRQ6KPRvlqqh99Y8rSj2gd After using snd_soc_register_card() in smdk_wm8994.c, the sound card is registered as a platform driver and it needs related platform device entry in machine file. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/mach-smdkv310.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 95ce9f6..9b7c878 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c @@ -274,6 +274,12 @@ static void __init smdkv310_ohci_init(void) /* USB OTG */ static struct s3c_hsotg_plat smdkv310_hsotg_pdata; +/* Audio device */ +static struct platform_device smdkv310_device_audio = { + .name = "smdk-audio", + .id = -1, +}; + static struct platform_device *smdkv310_devices[] __initdata = { &s3c_device_hsmmc0, &s3c_device_hsmmc1, @@ -306,6 +312,7 @@ static struct platform_device *smdkv310_devices[] __initdata = { &samsung_asoc_dma, &samsung_asoc_idma, &s5p_device_fimd0, + &smdkv310_device_audio, &smdkv310_lcd_lte480wv, &smdkv310_smsc911x, &exynos4_device_ahci,