Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp217733pxb; Tue, 2 Feb 2021 03:30:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7TXesLR1DW+wWC3xKiuqPL2i80WB0ii7hUwsvdNJBss7NggU7oMSmaQ27z3aFPjtCjT9a X-Received: by 2002:a05:6402:190a:: with SMTP id e10mr23302872edz.110.1612265416173; Tue, 02 Feb 2021 03:30:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265416; cv=none; d=google.com; s=arc-20160816; b=A0HzPzLk/5Qyn7U3rtuacn/wbnshUPIWnOajnpyWYfNv5za48Kt79Kd67ECpr2NKjk i0+YlJGKX6zadHoGGAJy1/q3EJllwrkez+xERYq6a5l2IPcw4MlehXE1YJX7m90FW7Mt JCwEJkkXGbL0PgVzyVhhr+O+MWEwsPnyPIpy9Og7kKX6MIPmK/hYpBMuWjsJxrTGnc8g zf+3YdQK9kfJA5DPYUcC5P2XGu/JGF6f/yqse4cJIuh2li1CrdkSl1ees2ZPdM5xaVck uDju9W/lOoCrOjOdu97xsjdm7megzv8P6XnQrSFojCmHkZUUhCJdFynHbtce5YtxS2NZ 862A== 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=s5uHscyERXOqsxACrGTL8nUJAFvsLk+YoeSzUhAFgcs=; b=t+O+NZoBqDwdA3fxXO1ww3EdlhZI+fCSmou6RggJkObjJvEiaAdIeMSuGXI3Wr8TSW 91pL4WSFV/TXQOGop8R1PXVeQmCDFMtJLFzpzctu5OofFVUDqmCArfMRwS6fJivhWiBp Gj4hxAEqyxB7cc2+yxOb48ACxECKEUVlwlZUZMidqFwX0VORarj17jIjqeiqxxWgWwaW /6JtKDEmEAS8kbmTbdMqLK43jHlDUwJN7vJNaGJoqWV/EUESsOhIbFBGgZd2Hsz3WfK4 ehEmkwnf8iR6OhWCmK4H3vxRk8AX7EjApNfnk1jlJKRxzcZyThERT+BSWj7VkfyMtuxV eYJg== 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 i18si12423144ejp.271.2021.02.02.03.29.52; Tue, 02 Feb 2021 03:30:16 -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 S231148AbhBBL0s (ORCPT + 99 others); Tue, 2 Feb 2021 06:26:48 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:44785 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbhBBLX1 (ORCPT ); Tue, 2 Feb 2021 06:23:27 -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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C6E8240004; Tue, 2 Feb 2021 11:22:42 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 17/21] rtc: rv8803: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:14 +0100 Message-Id: <20210202112219.3610853-18-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-rv8803.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c index 8821264e9385..72adef5a5ebe 100644 --- a/drivers/rtc/rtc-rv8803.c +++ b/drivers/rtc/rtc-rv8803.c @@ -607,7 +607,7 @@ static const struct i2c_device_id rv8803_id[] = { }; MODULE_DEVICE_TABLE(i2c, rv8803_id); -static const struct of_device_id rv8803_of_match[] = { +static const __maybe_unused struct of_device_id rv8803_of_match[] = { { .compatible = "microcrystal,rv8803", .data = (void *)rv_8803 -- 2.29.2