Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp215460pxb; Tue, 2 Feb 2021 03:26:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJztD0IUaVUjWT47Zes8JdNHDVa54MxZn8LyA28x8Hr9Esydp29FXYwFM0M60oHsWRjYf4Vx X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr23405177edu.316.1612265166388; Tue, 02 Feb 2021 03:26:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265166; cv=none; d=google.com; s=arc-20160816; b=iZUlGHlPWwrEcSFnf24AyMTfA42fj9Afwo3On8XoSr2n+tcjLVIwtQX1LY1gjSbfKz 6eiOuB5feTU4e/mUJS9yP5UbF5fh85jCESeNvxZ7rWCPzpN/uUr7FQyEOV1Du99Gb7+f tpGT6F2iJOaaIEsJ8LMo4Hm0b8/2aJ6HjLxtBV6t2MiTQpxmDTmNeDYKow6KQ+0GoXum n+fuKmu7idT/yIIulBogA1fvtQs9Y95XFVRTFHoia5cSzOd5bWg4d8kIK2v+ZEytxDSm ATs+j+8LhBwUUXs+Z+PGAG2T8F+W5pHAITtpJqtVNaJ8uTx/YPTHqTD85ZjshEYWXcPP hO7g== 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=FgSqEl2pzK4KH9w8kFZiz2Nn6dqKRaGpK64AtrkO/fQ=; b=aA2rv/tE1vzXw+9IxaXw4JpP+mIW9UebtIya51S015jS+ogw6MSz9gL5x9DQzeRHih trWRyiFNOcXTj9xtCFW+smD5V6rLORXv7Kn2vulieW20YINuCyH24aYJJRVfdh4VlDp6 DE37VQ5+JOKUWV//MtezLf1TaR6z6MvGKojpuKvID8hnmcvk4SiMljWLaECjxUBFpOQq B0RUlnBfPjXXaNV9ye3hc+1fGN1BGC4TZd0mr+3aFug7Zn5lmBSNZcHA0y3wD4JpxGYO +6WLoDbQccFIBoQ5vBxTUAHdmB/85EQqdkkpduH2HvbXHOqRSg6ibWHNKMOEmRamgBBM TZjQ== 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 n2si11635898eji.120.2021.02.02.03.25.42; Tue, 02 Feb 2021 03:26:06 -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 S231139AbhBBLXb (ORCPT + 99 others); Tue, 2 Feb 2021 06:23:31 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:41163 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbhBBLXU (ORCPT ); Tue, 2 Feb 2021 06:23:20 -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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id D0E5EFF80E; Tue, 2 Feb 2021 11:22:29 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Baruch Siach Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/21] rtc: digicolor: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:02 +0100 Message-Id: <20210202112219.3610853-6-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-digicolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-digicolor.c b/drivers/rtc/rtc-digicolor.c index 4fdfa5b6feb2..218a6de19247 100644 --- a/drivers/rtc/rtc-digicolor.c +++ b/drivers/rtc/rtc-digicolor.c @@ -205,7 +205,7 @@ static int __init dc_rtc_probe(struct platform_device *pdev) return devm_rtc_register_device(rtc->rtc_dev); } -static const struct of_device_id dc_dt_ids[] = { +static const __maybe_unused struct of_device_id dc_dt_ids[] = { { .compatible = "cnxt,cx92755-rtc" }, { /* sentinel */ } }; -- 2.29.2