From patchwork Sun Oct 16 04:45:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?54+t5rab?= X-Patchwork-Id: 13007707 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06E65C4332F for ; Sun, 16 Oct 2022 04:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=8nu5lr8ELRNWIEtfb645BQacCFcSBoZ0mx9DxAV2z3s=; b=znpy8ZoHuPiO6I WSiHJ0Q5XpQYHSsdIsIXXIgALbV2nuG1vTKzivQe6pQzLgmo5lI2aGJXZtj4GESlsDgdJORFAtGdk FEV8CzBIwEz7MjirzyNbbAGf2/vuxfGEqFakeEMtDK27FZGSdZoCk6RBsI21zefR8vkRvrA+XZU82 3Ji1Jn2gU2Nxeav7hKxeYXCm5uEPYsTK9UcngRPyc/sQg0QnmwcqFYv4aEsxeJWrpivsygJWRi1Au gr/ZL4FMFLso8aX6SiEeUVCEpZq7011kY3hILrGJgw3xjhJB0vxlA1czCq6kCij/Vd2aV8pl6FsqO U18ayjtyAQNmCKPQ2FRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojvXc-000Xtb-Ce; Sun, 16 Oct 2022 04:46:24 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojvXZ-000XsY-Dy for linux-arm-kernel@lists.infradead.org; Sun, 16 Oct 2022 04:46:22 +0000 Received: by mail-pl1-x631.google.com with SMTP id c24so8125115pls.9 for ; Sat, 15 Oct 2022 21:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gOPGjdkUUwBD33Ljs14iPONiNzANh82bKNKcOAVpv2U=; b=ig6Dy5kUHX/xCi/qhfXtOSmXyx21TOvJnI+Qe0WYy+CrzaePjxltimPIbm/E/bz4b0 Thq1g4ovro3P/B4Pwzu2sbOQuw9JJ4CvxNedhA80rlTJcVgvMeUPAxVGRH2KYByPLfe/ 1RtuE2vyn1ARWx3ulPnABCPzy/EN3bXPyTcUYUcsq8oAvuIogH6oszJV8ymX2h/Y14Wo /PJNTVd/8mzaKDQyvwYbQQuMOjN7S48l3S8H603mRUAwkTWiSdR4gZuhD+KEJDUXHVrg fQdjrKnaCKiIqEtn9b8tpLq/Fe2+Zf0lP0aeI6z1eYMqy6d8ldiYOn7B5fyVGwY1HsUv BKeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gOPGjdkUUwBD33Ljs14iPONiNzANh82bKNKcOAVpv2U=; b=5pTFm7VfsvR7rBRIUs8qCMkxgq3EEX9JuDJyX1lcptyUNqPSzoqcy/poPcAr9/W7wl tNrWBo7esycordeLOLcKjDZj+m6TpQPl3f9ApH3VK31AV3eW9RF5RnZOOnRZo3zZv33k hb0G+OBLSaEjK1WefiM9X2V3U6O7cHcZAnNMVvom1DJ/FMZVUyEq2mFtdavg+mYk/DV4 QMtBvoowzCIi6vQdZqlKpOT+O8+6nURsjNwBM8hTZbpVXG6vQVC5XKrXLYC3B/86ieYC B2+XeQxz54QPIPNrDL7fNCJ8ljBOHYriGLLO2x80dSpSYfoCZJZxGT1lAceElxAOBE28 rbew== X-Gm-Message-State: ACrzQf1zXro+3ONvIQvEhXDS0+pydDkpsNAiARg3LlPFAVIZo9jHNva6 XiNaYHHERAASfDdwEtvrvEdICb+98auq78E= X-Google-Smtp-Source: AMsMyM63j0z/1xvhysZgEbmP6pbY1z3+XW9PpVel3uuw8eOMbfB7ujM/Qo5QvMY8PkoBbfj2qSylXw== X-Received: by 2002:a17:902:c7c3:b0:182:7a62:4fa with SMTP id r3-20020a170902c7c300b001827a6204famr5855511pla.122.1665895579262; Sat, 15 Oct 2022 21:46:19 -0700 (PDT) Received: from localhost.localdomain ([113.110.232.129]) by smtp.gmail.com with ESMTPSA id z14-20020aa79e4e000000b005631a40a00bsm4308555pfq.139.2022.10.15.21.46.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Oct 2022 21:46:18 -0700 (PDT) From: Ban Tao To: fengzheng923@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org Cc: alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: sun50i-dmic: avoid unused variable warning for sun50i_dmic_of_match Date: Sat, 15 Oct 2022 21:45:24 -0700 Message-Id: <1665895524-122458-1-git-send-email-fengzheng923@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221015_214621_508958_A42D710F X-CRM114-Status: GOOD ( 13.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In configurations with CONFIG_OF=n, we get a harmless build warning: sound/soc/sunxi/sun50i-dmic.c:268:34: warning: unused variable 'sun50i_dmic_of_match' [-Wunused-const-variable] Signed-off-by: Ban Tao Reported-by: kernel test robot Acked-by: Jernej Skrabec --- sound/soc/sunxi/sun50i-dmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun50i-dmic.c b/sound/soc/sunxi/sun50i-dmic.c index 86cff5a..62509cb 100644 --- a/sound/soc/sunxi/sun50i-dmic.c +++ b/sound/soc/sunxi/sun50i-dmic.c @@ -391,7 +391,7 @@ static const struct dev_pm_ops sun50i_dmic_pm = { static struct platform_driver sun50i_dmic_driver = { .driver = { .name = "sun50i-dmic", - .of_match_table = of_match_ptr(sun50i_dmic_of_match), + .of_match_table = sun50i_dmic_of_match, .pm = &sun50i_dmic_pm, }, .probe = sun50i_dmic_probe,