From patchwork Wed Jan 22 06:13:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23477 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 702DD218CB for ; Wed, 22 Jan 2014 06:18:17 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id c41sf1152959yho.1 for ; Tue, 21 Jan 2014 22:18:16 -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=IjRC/lU0SnuCWCLWdIIqJm+76xbXsvaLG0Vreo+zgfoL1ZMnCxLnQOLURgJxedjakh 3I/D1Zpep9mt2KUzGc2LPwzmu+xeirgBO/KyqUgSHAm8y7HOTQvmRtMOuPxl0Uvdsjvs R0waHv+CM0oG7aqfxuziua7I90mBmpM1LEgH5gpIJGe86sbyDBtRny480YOGmsD/VLxB /W4jJIlJOmO71MayCvFT9m4TIJzv445XXZdnZ47FxiNOj7KuPn+XayPGDV9dopRJE3tR DHMoCIvBGNLv5pFHskO0xqBvKzB3aPSLuvmv9vr9kmA4qgC/BK6X6Vii5BGRmlfaz+oH 0pvw== X-Gm-Message-State: ALoCoQkh91mMDV0pyzjOFTs3vhoqHjL5SInRYEo3o0JciJKmAl1aZeoNhkaqs65ATEd680dW4GKc X-Received: by 10.236.84.239 with SMTP id s75mr9934259yhe.28.1390371496648; Tue, 21 Jan 2014 22:18:16 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.129 with SMTP id c1ls2154611qew.25.gmail; Tue, 21 Jan 2014 22:18:16 -0800 (PST) X-Received: by 10.58.90.202 with SMTP id by10mr16393466veb.6.1390371496554; Tue, 21 Jan 2014 22:18:16 -0800 (PST) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id k6si3869212veh.17.2014.01.21.22.18.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:16 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id pa12so2148138veb.5 for ; Tue, 21 Jan 2014 22:18:16 -0800 (PST) X-Received: by 10.58.181.165 with SMTP id dx5mr10048848vec.19.1390371496443; Tue, 21 Jan 2014 22:18:16 -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 u4csp163794vcz; Tue, 21 Jan 2014 22:18:16 -0800 (PST) X-Received: by 10.66.122.40 with SMTP id lp8mr29822254pab.82.1390371494597; Tue, 21 Jan 2014 22:18:14 -0800 (PST) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by mx.google.com with ESMTPS id ef2si430524pbb.311.2014.01.21.22.18.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.41; Received: by mail-pa0-f41.google.com with SMTP id fa1so7154084pad.14 for ; Tue, 21 Jan 2014 22:18:14 -0800 (PST) X-Received: by 10.68.231.35 with SMTP id td3mr14071172pbc.137.1390371494217; Tue, 21 Jan 2014 22:18:14 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id yi8sm40731507pab.16.2014.01.21.22.18.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:13 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@kernel.org, sbkim73@samsung.com, lgirdwood@gmail.com, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org, Kuninori Morimoto Subject: [PATCH 2/7] ASoC: Samsung: s3c-i2s-v2: Fix build error Date: Wed, 22 Jan 2014 11:43:28 +0530 Message-Id: <1390371213-21643-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390371213-21643-1-git-send-email-sachin.kamat@linaro.org> References: <1390371213-21643-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.128.174 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); }