From patchwork Fri Mar 26 06:23:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Lipnitskiy X-Patchwork-Id: 1458648 X-Patchwork-Delegate: daniel@makrotopia.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=hIDU1p7r; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=BRNz1KUx; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F6BmM0cQJz9sWF for ; Fri, 26 Mar 2021 17:25:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=YcEa1eIII5cN/Xxtsyky4kMUL9Hnrs1ShLBVT/22TrQ=; b=hIDU1p7rLnachWC7rutanxoODr vclKLRiT15MPvF+GpvCoi1kHo/jgoYZPrR7lGRGD9uJ3xKD7vuGo3Nv8pifZYpwoslXXdajQe5W6w +TSUerfOhehH72v0Tdr1x3Oi6fFfCVrhljwC6p8Pb7/rtA/0UuwBZwe0BgzgmjU2yUn+zZ9qT8N8H 0kvshwlvdeVjeV4IV2b+vunBWdyUkRsR7DsESiDawTQUez/ZGxKu9LK1KTJBpMRIrVI0VEYU4uuS6 yxi/B/5+7U8CtXrbPTS5SMwEuCaIyDBx0/qAVvlnjC8r/fbLFne/7c7IymcLCozG07tgmVy2QCCGl 7xsyiN1A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPfsE-002r30-6f; Fri, 26 Mar 2021 06:23:10 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPfsA-002r2a-94 for openwrt-devel@lists.openwrt.org; Fri, 26 Mar 2021 06:23:08 +0000 Received: by mail-pf1-x42b.google.com with SMTP id m11so4176140pfc.11 for ; Thu, 25 Mar 2021 23:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Abv72JWEXg6XZhI61NEwj+qQNqk3bgaioY/CjO4scXw=; b=BRNz1KUxx8NjnG5EVxjBGeyb6t6CLeRWxRPLw3fSVO6hElz8P2IG3X+HvRgO68VAVB VPyX2rKxWz5Vl0pRYdMGREJ8aMuSLnny45JdSWmk2AVq3ZOYhpLiRp4Q1y3yBdbnnXlf 8n7UcB3qPJUMC57/JkXegKOfadXCck1cCatnqI8Fm3ZlPaFEDvnXqf66bkPny3J8VpL6 EzO9rmGOEuWhOY2mFfCUZVq03+G8FLYNZMSt/ren3uGXkpi9QWUuSOw5aqQUyCYaibNi YcAk7cGsQLSBOqptd18D5/pajhbaaX9O1ahIT90/pFsQzmz6ROGmIbvtJ1vJKjLtuGwR oJMA== 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=Abv72JWEXg6XZhI61NEwj+qQNqk3bgaioY/CjO4scXw=; b=dyJg9uL+xJZoLXXiIje2vqUS3jAUv35pVrHPA55EH/KtWHpcd7azJmItpVik/OOM15 aZdkymxk6Omzn4Zmna/fIIkk/gr4WV4/rjssbkpgzo5j2EO8eLAZGgjFVY9SzaZqkH5R tc1z9/vFqYahL0ElmqAfrSOP14KmbupNLV7o3lxK6Y9SebS0QuDmnxA7AraU7XLARCn2 oesgklr3t4vWVZoVGvw958O2HX4ytZqSuMy6xsYTO/JzpG0iEM+iCeW0eGauOxDTJtiF YU55nDeGzY3ycUnD6MI9uAaW/6EKovLQuchE0O/AxHHQv26KB10YRASqQgFUo7XDGu7/ Un7A== X-Gm-Message-State: AOAM531hYWZHVNmf09dTsDubmRVCWPbFtLP9kQI1QLCYL06hso0fBSzA KWUKDIzMj5VSRrp0GsI94Mj4qXQM/l5H9spg X-Google-Smtp-Source: ABdhPJz8gM24F6BDwREwT3EdC8kZnmt5jtlBVXIfcCdnlNbo/dpI6fEB1AdCE1PU2WFdGi5HbfcXNg== X-Received: by 2002:a63:1409:: with SMTP id u9mr11027432pgl.321.1616739783964; Thu, 25 Mar 2021 23:23:03 -0700 (PDT) Received: from z640-arch.lan ([2602:61:7344:f100::678]) by smtp.gmail.com with ESMTPSA id w67sm4310814pgb.87.2021.03.25.23.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 23:23:03 -0700 (PDT) From: Ilya Lipnitskiy To: openwrt-devel@lists.openwrt.org Cc: Ilya Lipnitskiy Subject: [PATCH] ramips: mt7620: ralink-i2s: fix modpost error Date: Thu, 25 Mar 2021 23:23:01 -0700 Message-Id: <20210326062301.1415486-1-ilya.lipnitskiy@gmail.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210326_062306_417545_9719A4CE X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixes the following error when building without CONFIG_MODULE_STRIPPED: FATAL: modpost: sound/soc/ralink/snd-soc-ralink-i2s: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Ilya Lipnitskiy --- .../ramips/patches-5.10/835-asoc-add-mt7620-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ilya.lipnitskiy[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:42b listed in] [list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Fixes the following error when building without CONFIG_MODULE_STRIPPED: FATAL: modpost: sound/soc/ralink/snd-soc-ralink-i2s: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Ilya Lipnitskiy --- .../ramips/patches-5.10/835-asoc-add-mt7620-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch index f625d4144943..0393c23f65af 100644 --- a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch +++ b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch @@ -78,7 +78,7 @@ Signed-off-by: John Crispin +obj-$(CONFIG_SND_RALINK_SOC_I2S) += snd-soc-ralink-i2s.o --- /dev/null +++ b/sound/soc/ralink/ralink-i2s.c -@@ -0,0 +1,965 @@ +@@ -0,0 +1,966 @@ +/* + * Copyright (C) 2010, Lars-Peter Clausen + * Copyright (C) 2016 Michael Lee @@ -881,6 +881,7 @@ Signed-off-by: John Crispin + .data = (void *)&mt7621_i2s_data }, + { .compatible = "mediatek,mt7628-i2s", + .data = (void *)&mt7628_i2s_data }, ++ {}, +}; +MODULE_DEVICE_TABLE(of, ralink_i2s_match_table); +