Message ID | 1390371213-21643-7-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBNOF7WLAKGQEZXSQVQY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 36FFE218CB for <linaro@patches.linaro.org>; Wed, 22 Jan 2014 06:18:30 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf14534741qac.8 for <linaro@patches.linaro.org>; Tue, 21 Jan 2014 22:18:29 -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=Nv9hhJDxBwh0ZUVug0kwLxlyOFaJkaU6p9O6kUfk/SM=; b=Nx2uxZEVKb+5FAr03U/q4jUlKiWAs6YVKBuUsSPVajtWXkYAINrseBYQoTIhvU6zn/ B+P1c9Vm2tLIXBrYRBHc2biiKVRObpBXZvPmetcZDqBlTvqwFv627oDOBUrcbGHXetkt 2V6cKEGMkGJj6+QbgdQBjjrqHZuHCSLpbeq9a1j5V9mX6Si549jGPQnse+WUEu3HgIpF vaojJ2Ay4tBo23YhDYXimuIPsckeuhSFMfU0zWXuH8DYUv935AJrwLwzDN6B6z4yTO6b BoUUlbQepF3QHhA+DDupYRWgFa6BbDIie4GFm+8prJ3FCVHNRuRbeHd1Gi5xJA/JKaLY Ru9A== X-Gm-Message-State: ALoCoQnf+Dp/iFFAp8+iITdGHutCXV7n69qEOSjw8FKjJXkcfB2N/9xtg9kGKMFEXDvyfIFNnv4q X-Received: by 10.236.132.231 with SMTP id o67mr9369554yhi.15.1390371509434; Tue, 21 Jan 2014 22:18:29 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.228 with SMTP id h91ls1467988qgh.14.gmail; Tue, 21 Jan 2014 22:18:29 -0800 (PST) X-Received: by 10.58.86.230 with SMTP id s6mr16064968vez.16.1390371509329; Tue, 21 Jan 2014 22:18:29 -0800 (PST) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id xt2si3868548vcb.33.2014.01.21.22.18.29 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:29 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id ie18so4035556vcb.40 for <patchwork-forward@linaro.org>; Tue, 21 Jan 2014 22:18:29 -0800 (PST) X-Received: by 10.220.58.202 with SMTP id i10mr6761193vch.23.1390371509242; Tue, 21 Jan 2014 22:18:29 -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 u4csp163808vcz; Tue, 21 Jan 2014 22:18:28 -0800 (PST) X-Received: by 10.66.159.132 with SMTP id xc4mr29175347pab.27.1390371508515; Tue, 21 Jan 2014 22:18:28 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id pk8si8346082pab.213.2014.01.21.22.18.28 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id kq14so9462603pab.17 for <patches@linaro.org>; Tue, 21 Jan 2014 22:18:28 -0800 (PST) X-Received: by 10.66.141.165 with SMTP id rp5mr29556696pab.90.1390371508136; Tue, 21 Jan 2014 22:18:28 -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.24 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:27 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> 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 Subject: [PATCH 6/7] ASoC: Samsung: smdk_wm8994: Fix build error Date: Wed, 22 Jan 2014 11:43:32 +0530 Message-Id: <1390371213-21643-7-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.220.181 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c index b072bd107b31..1d9641cc172a 100644 --- a/sound/soc/samsung/smdk_wm8994.c +++ b/sound/soc/samsung/smdk_wm8994.c @@ -188,7 +188,7 @@ static int smdk_audio_probe(struct platform_device *pdev) smdk_dai[0].platform_of_node = smdk_dai[0].cpu_of_node; } - id = of_match_device(samsung_wm8994_of_match, &pdev->dev); + id = of_match_device(of_match_ptr(samsung_wm8994_of_match), &pdev->dev); if (id) *board = *((struct smdk_wm8994_data *)id->data);
Fixes the following build error when OF is not defined: sound/soc/samsung/smdk_wm8994.c:191:23: error: ‘samsung_wm8994_of_match’ undeclared (first use in this function) Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- sound/soc/samsung/smdk_wm8994.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)