From patchwork Thu Jul 5 09:01:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9832 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 5ED9923EB4 for ; Thu, 5 Jul 2012 09:14:47 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2E7E6A18198 for ; Thu, 5 Jul 2012 09:14:47 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so7731982yen.11 for ; Thu, 05 Jul 2012 02:14:47 -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=MI5bZ1xPrrAJCuURQ2uI6uCPXDlAu/SJK8CIQAodUYo=; b=CBaI9inWztORkoWuP4XG59tZ+mhBtpj+CrGCK/5vizXhdIKjy6KJqwVPYBbAfSh+nE HY/8b1I6KFuURDZvM9STX2zH2fk0iP1WJewBBtXDFHVm397XlOWxpib5wmk1zF/6cu/7 5ywOfyVjVJ1QEWWlUuiYKVaERaCOKyzseUneqOxeK1buo6jGTFrAVWVlekSV4scqZg5G nnQrwXXPM9r77vWUy+32zlsFwGC6Am76h19XqLbLSABaBCDOQwKKD0HlWt5SitfK8v9W EvzWYP/JnUWBLWxdRKBmtnz0txdLOq8+jK+CZm/THEncMS03OAvvB04fshApMLdRceqt BYCw== Received: by 10.50.46.232 with SMTP id y8mr15329355igm.57.1341479686896; Thu, 05 Jul 2012 02:14:46 -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 v20csp62775ibb; Thu, 5 Jul 2012 02:14:46 -0700 (PDT) Received: by 10.66.87.136 with SMTP id ay8mr35868870pab.25.1341479686166; Thu, 05 Jul 2012 02:14:46 -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.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:46 -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:46 -0700 (PDT) Received: by 10.68.201.9 with SMTP id jw9mr25804902pbc.28.1341479685903; Thu, 05 Jul 2012 02:14:45 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id gj8sm19422570pbc.39.2012.07.05.02.14.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:45 -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 3/3] ARM: S5PV210: Add audio platform device in Goni board Date: Thu, 5 Jul 2012 14:31:58 +0530 Message-Id: <1341478918-6602-4-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: ALoCoQneigg/074mu8W7NdTaXuNXlygLhmjm9Z0RZN2/crdnS8TaocB/Di7yEPe0Pxkc5+qg6z+m 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-s5pv210/mach-goni.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index bf5087c..b2cae13 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c @@ -859,12 +859,19 @@ static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { .num_clients = ARRAY_SIZE(goni_camera_sensors), }; +/* Audio device */ +static struct platform_device goni_device_audio = { + .name = "smdk-audio", + .id = -1, +}; + static struct platform_device *goni_devices[] __initdata = { &s3c_device_fb, &s5p_device_onenand, &goni_spi_gpio, &goni_i2c_gpio_pmic, &goni_i2c_gpio5, + &goni_device_audio, &mmc2_fixed_voltage, &goni_device_gpiokeys, &s5p_device_mfc,