Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216238pxb; Tue, 2 Feb 2021 03:27:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlfuuiJa64rV/GlQNMV/CrY2isLVxYME3DXxb+6mQ+1vRst9VihgHMiQtacsyLzOoS9DTx X-Received: by 2002:a17:906:ca04:: with SMTP id jt4mr2383868ejb.548.1612265255061; Tue, 02 Feb 2021 03:27:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265255; cv=none; d=google.com; s=arc-20160816; b=q/BB2qi1wwqWUdO8s+G/Ybwc4MDMDB7GoqV1wklBz1rCIWa+awgDNM1ChbiTm5HIuQ vXfJKFRX8+YbPnJJL/TWWTEgSHR9PClBl7mTUFGGN7TkONt4QLA1G3frTjVCLKfdbNfV hJRKJA1WP3W6/wiM6Sj4vlI7Ng+GDEc2qgAlxwOUG1eEOf4iH2weuHEOBEDfs8IF30FR IYUpYFMONRqUBS4fPNrqBSdm7T2nO6VceqTb/VgF3PflGlgGL8RM8Y1HFBebfz6PIoBW E/vnSyWDjmR2PC7VDfJa/reqE9gmhqT8EksnnNLNJVy7zaE4vnhzeclGU6TogwFt/lQc olDw== 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=AHv2qs9d+tMMg4i5nhFko/nipAAgZbVJb4TzdoqCCUQ=; b=n+pcITiJKtnOxji1AxGeDzxLPfCzXDoQQkvJTZ8L5O8q1qgoSEG/goAQU33VqQbp2o MQzwQwbHy7fz7gQR9Pr6SvYo/gYw4TkcCw87uzlXkm/7/0H78KV0CHcoTvs+RUYq7v6l P+JFEpQmOOoVYf0wjQ3iOZYni1jFvnXJOhTSXvT7kL2HlPsvVlZMXuuKTpEtCaGacJYl w4FRjkcVQaiin/Rr7nn7WxieI39pAlUw3zOBUKOT2WbRgnccBs/bc+Rva6aD5SQ7eTy/ dTfHEgb/kQKqJh4Re/qjMivqlxFtF65/mTYVTFsyaYw7N+DAaCfVQZLe3FXiKqhi84mU DA0g== 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 i13si2604043ejy.297.2021.02.02.03.27.10; Tue, 02 Feb 2021 03:27:35 -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 S231277AbhBBLYS (ORCPT + 99 others); Tue, 2 Feb 2021 06:24:18 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:45165 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230439AbhBBLX3 (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 09E67100009; Tue, 2 Feb 2021 11:22:41 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 16/21] rtc: rv3032: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:13 +0100 Message-Id: <20210202112219.3610853-17-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-rv3032.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv3032.c b/drivers/rtc/rtc-rv3032.c index 5161016bce00..d63102d5cb1e 100644 --- a/drivers/rtc/rtc-rv3032.c +++ b/drivers/rtc/rtc-rv3032.c @@ -906,7 +906,7 @@ static int rv3032_probe(struct i2c_client *client) return 0; } -static const struct of_device_id rv3032_of_match[] = { +static const __maybe_unused struct of_device_id rv3032_of_match[] = { { .compatible = "microcrystal,rv3032", }, { } }; -- 2.29.2