Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp216028pxb; Tue, 2 Feb 2021 03:27:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSaHZwPPi3wg0uGWGfgPpxUZ2e73vMhj/qFWRcXiEqslvbHsWr+vF30W7OWt2nO+KMrI7h X-Received: by 2002:a17:906:958f:: with SMTP id r15mr21456612ejx.360.1612265230550; Tue, 02 Feb 2021 03:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265230; cv=none; d=google.com; s=arc-20160816; b=vJ7cS74o9tAs5ivXUGS97Fxh3pssJaH95SkLVqyWObqEi53sPZOgSliOFyr5yzBKME E3SHD2v4+YBeeO1IcxbHdkE7EUV+Q9b60RfdnDZti68OlBJVzT5bhT5A/vbR0w7eyjli ELNlakXFZYZAEBMk7lUPiWPO3tE+A0OOrSyh202XFCFjABSddd6Z/kDAD/jwtKpu6Z5f ERiPRKPC9sU6TmdpHfqhk6UV4fUMCIej5Yl4KuaF/NKefLKGALAvrwxGKlhR/khJ+2Jt q4jzfZZ+Ulr71b06bJeJibEZNF44NMUThZwpiMG39eDLg3sj5MVTVIWL875PspL9yhTG zf7A== 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=tcUheodN8RjC0HSNVLMBL0JdcpDchDW0rsIbKdkd0cE=; b=wrfpTzXVAsgNcAbjquBR7Z2X8CRsTdCzqu7Q6boJcv0mrrf6c3FCGYZ/3FXWpSn+IW bA7vECpPrf54ed5SA4jcrxaNxjx74pfFhM2yLqDe5fH5w7R9EE8DHzfya2vr3P/80IeI 6gtG2YGPXEVSGgCdeb8MLxDC8eq2gep05m/RkXX8NUi+wfSs13+goaUfAXrE7g2ITNlH bstiA2rCkhv55+cyAzwcMr3HFlk3LRyTodZsciZDmcborGMXiFSwaJ2mtKwqZ/+FyVfT Scn3GNsdcqMexfjLyST4pYbop26xV96j12F9cR1aTKSG4Vpd/kPDiLS07Y2Ph/wtrpLI Fo8Q== 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 n16si12503921edt.539.2021.02.02.03.26.46; Tue, 02 Feb 2021 03:27:10 -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 S231209AbhBBLZM (ORCPT + 99 others); Tue, 2 Feb 2021 06:25:12 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42383 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbhBBLXb (ORCPT ); Tue, 2 Feb 2021 06:23:31 -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 relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 5B921E000D; Tue, 2 Feb 2021 11:22:44 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 19/21] rtc: rx8581: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:16 +0100 Message-Id: <20210202112219.3610853-20-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-rx8581.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rx8581.c b/drivers/rtc/rtc-rx8581.c index de109139529b..aed4898a0ff4 100644 --- a/drivers/rtc/rtc-rx8581.c +++ b/drivers/rtc/rtc-rx8581.c @@ -314,7 +314,7 @@ static const struct i2c_device_id rx8581_id[] = { }; MODULE_DEVICE_TABLE(i2c, rx8581_id); -static const struct of_device_id rx8581_of_match[] = { +static const __maybe_unused struct of_device_id rx8581_of_match[] = { { .compatible = "epson,rx8571", .data = &rx8571_config }, { .compatible = "epson,rx8581", .data = &rx8581_config }, { /* sentinel */ } -- 2.29.2