Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216691pxb; Tue, 2 Feb 2021 03:28:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYig+3deJgTbSlAjVwdr3VtHziEKGbufO8CeGQnB8AM+BjRaabNHqAp3aU4SopgkRx4EMj X-Received: by 2002:a17:907:c08:: with SMTP id ga8mr4932207ejc.346.1612265307789; Tue, 02 Feb 2021 03:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265307; cv=none; d=google.com; s=arc-20160816; b=VxS1Z5lwmNc9m702qeVCKidAhhRoaP/o+e9HQqjzGtYEj08KANOkf++uIkLk/cKwte o806s1cJGICchnoahCTwLtVUUgga23+7wv0+aUKkbM/vTxrbq/ZOV6n2D3JnBFdYzAJr 2dm9+38bq+IZ/qJOX09IJPsamnjGIeNcOHNybDi7h3vIYB39/m2e10BpBpvjddF86fl5 u3Inb2cZ6xt9sohoSUGPZc+z5nfWUdoXkl5iLU5xWiTbZVEY21rRH10TSMxeISu3ytAS vdiPAWCFsjBEsGL7ILKF6zNcfo0oxD+yNBrdRyx+rQ2/Fve8YuPmg+PZ8W1knwAK6fCM jGsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vGdqEQ4pCrCKmtqgLUr5AqSMktz7vdkc5lxbGip1rd4=; b=sBAgobjTXwysrE7PMsFFIFTHIiH6B3wPOAs5K2wlD6NiBJcDPN8t9wp7UOVIQghOB4 ZPxQ3/CvZapRvOjWfz9dMfpOmdKyy16kUChQ2knGFkS1pOfFHrZeDCoRaotNwoayOz3C //jX4gWhBBrY+VzzWzQkR9tK43Upr0J+wFG81VKidAkIbWqA0WI86ck8HNurOUJ3S95a J/cx82UNqkmcPj2qcdxFyO+Q/D1GOpi3su7+speF2JBZccvNdTbW4CQQPTz8xL/xVnoI UMnoiRFRSl8eIa6aXvxzmahl13U/vLaYrmOWFCQzU5JBIs0mgRj0c5lKDPgeKVSfiHyb VriA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si13391704edz.565.2021.02.02.03.28.03; Tue, 02 Feb 2021 03:28:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbhBBL1S (ORCPT + 99 others); Tue, 2 Feb 2021 06:27:18 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38869 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbhBBLXX (ORCPT ); Tue, 2 Feb 2021 06:23:23 -0500 X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 49E7A1BF205; Tue, 2 Feb 2021 11:22:34 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH 10/21] rtc: meson: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:07 +0100 Message-Id: <20210202112219.3610853-11-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210202112219.3610853-1-alexandre.belloni@bootlin.com> References: <20210202112219.3610853-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When CONFIG_OF is disabled then the matching table is not referenced. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-meson.c b/drivers/rtc/rtc-meson.c index 8642c06565ea..44bdc8b4a90d 100644 --- a/drivers/rtc/rtc-meson.c +++ b/drivers/rtc/rtc-meson.c @@ -380,7 +380,7 @@ static int meson_rtc_probe(struct platform_device *pdev) return ret; } -static const struct of_device_id meson_rtc_dt_match[] = { +static const __maybe_unused struct of_device_id meson_rtc_dt_match[] = { { .compatible = "amlogic,meson6-rtc", }, { .compatible = "amlogic,meson8-rtc", }, { .compatible = "amlogic,meson8b-rtc", }, -- 2.29.2