Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216692pxb; Tue, 2 Feb 2021 03:28:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlYhX7d6uFr6ZEZbsia07CMzOJkaSklEx2eXRzJaqiin69eQLZCT8YmqnNOPBeDCmbAAOg X-Received: by 2002:a17:907:210d:: with SMTP id qn13mr13559332ejb.377.1612265307796; 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=hgV/2CwDVZwLsCFKMBXHKsZicjFL+01W2GxHgLg4WBSzN2T8sfPRA3TYIyGRVlH43J ZI2OyicaxEyGDIOFtIDsNm0foESTa5HOSD7aQKkMHO7P1lfpeQJfpixNrSMpGvMvRlgO kUz9xgP9tRoZz6D6z9NS1CWbMxDiTlLaheNhB4V6ASDO8YTpwDP0yBN7Klm06//kUqH2 mfBq89OdtL2WyrydD9Ejpnp1tPceVELQUVSWXBn20yWty0DmyptlNx7cOam8DBUiZZ1w eJvlXBPHqF2V2aoiHiJwHOcoki6RBJO00g3r2PWI9OQpbqJrnRBQQFsj+LNtOz++XW8q A6ow== 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=vlalYHgkgMtnwV7FUj/nJQ87A2Y7EdtKpBEWL+SaDzM=; b=YbgO7jCEqQpkFSUZukufN6KMcVRgVccDeT6p+G88Z32nnlvvEL0VxEIuWuOSvjxJEC QBdAKUcLslns0HV8AdOUX/b8v780inybhN/xr//zo0XECfNf3Z2vQfcNzgoVi1YTIjvq cpKFHkItWuRQgPGLYnOtEV6MRTmXl4gyy5f6U+N6ulCVtJB671v178LujvcZfqwWXxI4 7RK5S1yIVoQmTfUlf+Hd0T6GSXHqfzvLWbvLgAXLO2+wZzNjrtI6L+5CNTNGXDIVnO3q Wdllf/ibXoGZPjgbxxqGgwl+jAB0tl54lPmpYcGotlRbW2caQiUmPGFehYMn8pi0LQRv UeCw== 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 gs5si4367855ejb.491.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 S231289AbhBBLZx (ORCPT + 99 others); Tue, 2 Feb 2021 06:25:53 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:60885 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230369AbhBBLX3 (ORCPT ); Tue, 2 Feb 2021 06:23:29 -0500 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 7E70C100005; Tue, 2 Feb 2021 11:22:40 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 14/21] rtc: rv3028: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:11 +0100 Message-Id: <20210202112219.3610853-15-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-rv3028.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv3028.c b/drivers/rtc/rtc-rv3028.c index 2ee2afa3fa66..0c48d980d06a 100644 --- a/drivers/rtc/rtc-rv3028.c +++ b/drivers/rtc/rtc-rv3028.c @@ -898,7 +898,7 @@ static int rv3028_probe(struct i2c_client *client) return 0; } -static const struct of_device_id rv3028_of_match[] = { +static const __maybe_unused struct of_device_id rv3028_of_match[] = { { .compatible = "microcrystal,rv3028", }, { } }; -- 2.29.2