Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2062161yba; Tue, 2 Apr 2019 23:58:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/9R0UutjUla4jZr4hiYxvnTJymwDKbBRgNikWOS91Zn8Ck9wOTuvFZspIzJX6NPlPb53H X-Received: by 2002:a63:1003:: with SMTP id f3mr61144370pgl.227.1554274708279; Tue, 02 Apr 2019 23:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554274708; cv=none; d=google.com; s=arc-20160816; b=t1OavjHQTVm6q66cJxCqyS1j8aZYhQ3dtFdoqcryoV8tCfAwrOmeLEsK3nVTEkkjW7 pDA8OfGRQgHCD++B0zGb9t3tQNPSjRxWvs0EE3CquoktZEexwyz/i/dQsiBdoRDD3l7l FYqkuVygHqvce481l1JQWn3THWet7WwisvOn73HLS+bM8Fo0sSMilXN6MYtv1LVfHkXN ww6BLQH/IPUyI21342mu0eJ9ep9Pcsvgm6FRICsLs2+jUpv749cifqAK93lc1Wv2syCq MoqENfNQhTdgQe/Rv3uKJ/EBftqMujQXMvVl3d63UGbwl76duzbK1LD4dwi/Ph2YL2PU 8E8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=I6nBKwdpUeXgOaBDWhRUmhQnAUSDUDTdXm2H5dVc2Qw=; b=fFcVkPK2U1FHgA++CHpCASN1O85rA2fyjSVY419o7L0VOXRkZm5W1CeuEbd+EjzpB2 k0xjybSmIW6uD4DSDLTaFmmExbYhhninJWVWEExT54myc5jnrPL2MNK9GecJKsVrD9fd L5okSXNt1O+/DvYQ18KSqZ9Xgccn6/fhLgkV1Nd8x3Sqjx+So9TJYzPa1dKbABneTJy0 iQsVOjGGUUeMLrfI3auc/9ePcWtqA7WrhUg3bYKI9j4NQntbTPZuT4M4PvwPLAi4G4ZZ rhpTqCQD/P2Eto+Wu+qFJCYe8Q3+BSFbNfLcTy/G7n+8tkanIUBi8CvTIDmik0DRyBe2 eb2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JCwVzhUn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si12637211plr.431.2019.04.02.23.58.11; Tue, 02 Apr 2019 23:58:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JCwVzhUn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728523AbfDCG4C (ORCPT + 99 others); Wed, 3 Apr 2019 02:56:02 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46598 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbfDCG4C (ORCPT ); Wed, 3 Apr 2019 02:56:02 -0400 Received: by mail-lj1-f194.google.com with SMTP id h21so13776284ljk.13 for ; Tue, 02 Apr 2019 23:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I6nBKwdpUeXgOaBDWhRUmhQnAUSDUDTdXm2H5dVc2Qw=; b=JCwVzhUnie7ynLFL0eGk6kAglbhANXSQCHCfNLYKEPVVnPZMfO0v7im0un6+dLtpmT OuXUbLgOLF3KHR3GGJhDb1ZbDlEhn8OeLQtByd0pmmCNRwTC3RCRnPcoj6u4SJtu0u3L mrvOzy8GlYpqMJD5XiKzAwYpvSu7KIhghj+rmTZUWic1i4TB8TFrpGX3WavPNJLZ6Lb8 gJFvQpzOJ8ufLt1BR938R+v9OaDDFhQTKSMc/Jmd/JyM/mhUMigFj88z+OfEvUz+5P9C 358PomxACBRAJDd/Ijt0FZp4Dy1QHSfprZZhs4uHOmRFuyEUi6+CaJdVSRS3cWhtsW27 5ySg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I6nBKwdpUeXgOaBDWhRUmhQnAUSDUDTdXm2H5dVc2Qw=; b=oV7zIsg9RD51oFCvwTNiKs7sDVp9sItorg78uaYh3v102lMkaefjbyQ6PY1jD7ba9B usp1tHBWvnfH1fK9laLw3yFrjLVxqRgX4KZSTrNGe8D6ZhAxHXLfewV2GQvs87J/Rf52 nXM8NYWB3Gt8D9eFijudsm/DzruOAoNGOzmWfKksVO+iIL4QzfiL1lE8JqcOWzqXWq3K 4KEkMGw8MBEaZny3pGC/y/6Tpp+yYGg/5TM78lB5MK+WQ4wIaUCuo2d1yzRugZiglNlr IbxXmJMnYqSQFby53u1eImScK8Wsv49ChjckY29mFgAKY91oFRBkv9aGkKCZOJhKr1Y3 KzqA== X-Gm-Message-State: APjAAAXav0w+y7lvcec0ALWSbOrNaUYP/86G4kM3nknUt9Vhhdm9/AmB J1zT63QAigquevOTSYL3Y7qYbw== X-Received: by 2002:a2e:84ce:: with SMTP id q14mr7838919ljh.80.1554274560128; Tue, 02 Apr 2019 23:56:00 -0700 (PDT) Received: from localhost (c-573670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.87]) by smtp.gmail.com with ESMTPSA id v21sm2788168lfg.26.2019.04.02.23.55.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 23:55:59 -0700 (PDT) From: Anders Roxell To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, matthias.bgg@gmail.com Cc: alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] ASoC: Mediatek: MT8183: DA7219: fix build error Date: Wed, 3 Apr 2019 08:55:47 +0200 Message-Id: <20190403065547.19382-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When building CONFIG_SND_SOC_MT8183_DA7219_MAX98357A=m the following errro pops up: ../sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c: In function ‘mt8183_da7219_max98357_dev_probe’: ../sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c:413:13: error: ‘struct snd_soc_dai_link’ has no member named ‘platform’; did you mean ‘platforms’? dai_link->platform = NULL; ^~~~~~~~ platforms Rework to use 'dai_link->platforms' instead of 'dai_link->platform'. Fixes: ebbddc75bbe8 ("ASoC: Mediatek: MT8183: Add machine driver with DA7219") Signed-off-by: Anders Roxell --- sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c index 93536659a859..1e7e8aed8707 100644 --- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c @@ -410,7 +410,7 @@ static int mt8183_da7219_max98357_dev_probe(struct platform_device *pdev) * the "platform" will not null when probe is trying * again. It's not expected normally. */ - dai_link->platform = NULL; + dai_link->platforms = NULL; if (dai_link->platform_name) continue; -- 2.20.1