From patchwork Wed Jan 22 12:00:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23512 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 24607203C6 for ; Wed, 22 Jan 2014 12:05:20 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf951261obc.9 for ; Wed, 22 Jan 2014 04:05:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=IjbGUmSF+lhzeisIOz3PB//xcBx+vKynjDJk4z35R6I=; b=YTCx1zQq98fXNZVUAwQI2fmOS7QNhkEEBwdvzjWvvLhnyBnCbsCOmhmOY7icFaUuQp W2b69xdianZWCTNUWkYc/ctclIctSSW8PLyvCv6mW5WWweLTGzXPZFwd9UeSlfotz56B cQ1WG2gqFZUWCFhBfbDBmC0epmqSKRV1zyFieP8XYNFBXuixpcGXPLit5ct/kj917Uxm XRkGldgbXvUFb8QmOydISo/7xfUPLvLS/LBuzsHh0O49V/j//J5sUJLR+PippWWUDel4 anXzNH3fk7JBusHL7gw5YMyWMwY5nZvs50WNIucmLuIadFEjfABfgyJbK6srQP2s90XR qptw== X-Gm-Message-State: ALoCoQmLnfn0O6WY94OGscWvJZJp9kygzaVxnzzOj3ur8qPx9944txMwhIEAEnRFuJ+aR3NUxNm9 X-Received: by 10.182.236.74 with SMTP id us10mr422557obc.36.1390392319086; Wed, 22 Jan 2014 04:05:19 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.109.8 with SMTP id ho8ls35357qeb.76.gmail; Wed, 22 Jan 2014 04:05:19 -0800 (PST) X-Received: by 10.58.226.163 with SMTP id rt3mr645681vec.34.1390392318983; Wed, 22 Jan 2014 04:05:18 -0800 (PST) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id ec16si4409100veb.86.2014.01.22.04.05.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id m10so155407vbh.4 for ; Wed, 22 Jan 2014 04:05:18 -0800 (PST) X-Received: by 10.58.75.6 with SMTP id y6mr611177vev.23.1390392318912; Wed, 22 Jan 2014 04:05:18 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp179947vcz; Wed, 22 Jan 2014 04:05:18 -0800 (PST) X-Received: by 10.67.22.38 with SMTP id hp6mr1110772pad.53.1390392317993; Wed, 22 Jan 2014 04:05:17 -0800 (PST) Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by mx.google.com with ESMTPS id y1si9617893pbm.94.2014.01.22.04.05.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:17 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.170 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.170; Received: by mail-pd0-f170.google.com with SMTP id p10so290002pdj.15 for ; Wed, 22 Jan 2014 04:05:17 -0800 (PST) X-Received: by 10.68.213.41 with SMTP id np9mr1240480pbc.90.1390392317570; Wed, 22 Jan 2014 04:05:17 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id db3sm22297385pbb.10.2014.01.22.04.05.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:17 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: sbkim73@samsung.com, lgirdwood@gmail.com, broonie@kernel.org, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org, Kuninori Morimoto Subject: [PATCH 2/6] ASoC: Samsung: s3c-i2s-v2: Fix build error Date: Wed, 22 Jan 2014 17:30:39 +0530 Message-Id: <1390392043-24387-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390392043-24387-1-git-send-email-sachin.kamat@linaro.org> References: <1390392043-24387-1-git-send-email-sachin.kamat@linaro.org> MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fixes the following error introduced by commit eca3b01d0885 ("ASoC: switch over to use snd_soc_register_component() on s3c i2s"): sound/soc/samsung/s3c-i2s-v2.c:732:32: error: ‘drv’ undeclared (first use in this function) Signed-off-by: Sachin Kamat Cc: Kuninori Morimoto --- sound/soc/samsung/s3c-i2s-v2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index fefc56100349..79e7efb9283c 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c @@ -729,7 +729,7 @@ int s3c_i2sv2_register_component(struct device *dev, int id, struct snd_soc_component_driver *cmp_drv, struct snd_soc_dai_driver *dai_drv) { - struct snd_soc_dai_ops *ops = drv->ops; + struct snd_soc_dai_ops *ops = dai_drv->ops; ops->trigger = s3c2412_i2s_trigger; if (!ops->hw_params) @@ -742,8 +742,8 @@ int s3c_i2sv2_register_component(struct device *dev, int id, if (!ops->delay) ops->delay = s3c2412_i2s_delay; - drv->suspend = s3c2412_i2s_suspend; - drv->resume = s3c2412_i2s_resume; + dai_drv->suspend = s3c2412_i2s_suspend; + dai_drv->resume = s3c2412_i2s_resume; return snd_soc_register_component(dev, cmp_drv, dai_drv, 1); }