Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp215170pxb; Tue, 2 Feb 2021 03:25:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxI3v7Xwr4htOCW7z+c0WhQBlAAZJj8jS89AMQ5iOJBWdwDWBW1OZnSaBkFu0276NN4WNiQ X-Received: by 2002:a50:9ee9:: with SMTP id a96mr23205539edf.343.1612265136312; Tue, 02 Feb 2021 03:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265136; cv=none; d=google.com; s=arc-20160816; b=xmffcNRLXq8GvKMwypbV1JGnrQcaxAZ5+q5NJeQvvyBmNTqTSa1HQXx9qUDSPiX8Oj oRZNMDVHA8sErAqLq16u9IjL2uctZkQjaG9yiZfMkUfVfwhPISkwCd4InhTMP37h7r19 8oIMtNxN0lUChOlLaqMpobqLF2Xe+/t7ZHl3OrxNU45EThA5LjRhBglxK11olK7L/kYe l/foOVYdG+tJE0JGyL5xumttpGWS7iP3BHks5vIMOcBrPdStZlE3sslSNL1cKQupWBuQ TFyV/A44eJBqJJbtV+2kSzCGTizKi7sbW4bWt/9Rf76mIFVptJDlANTBPugjWtUSETMI wHDQ== 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=1N7nvKBAAjIdJJJciZaSmFevrtBiyjbXRXpmDXwNqac=; b=SI71We5Rkeux6pcEm6fvv3hyLTf3sHJ2AxGtgfrrx//qQVnHVzMiZ2h/bhGK97aP6w Oa8GOzK60qA3joLCXoizNlQAoqE/qVY8bv/OWq1MT574JCInnwTP444gcasf1SyC09el p1UDSoq89nCicjj15A/OV3RzuFLKncOUfsYxGWww4yy8GH9UI+E553B8cHztIYLkVc5T 4G3ZJJvY6mlCRhKPkSm4e4YSaSLNu6APK0mBHFE8sr4GY1q368sStW65E3JFy0WQAPtX iKXNYPo+7XowJ1Pg1w+lTD113+fe8YInpaglUPXosfFTgBgaKaBwsxpKwHm9h9C/tDUu VnAw== 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 z4si12113641ejr.376.2021.02.02.03.25.12; Tue, 02 Feb 2021 03:25:36 -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 S231194AbhBBLXo (ORCPT + 99 others); Tue, 2 Feb 2021 06:23:44 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:39379 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230312AbhBBLX1 (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 relay8-d.mail.gandi.net (Postfix) with ESMTPSA id DFD0C1BF20A; Tue, 2 Feb 2021 11:22:38 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 12/21] rtc: pcf85363: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:09 +0100 Message-Id: <20210202112219.3610853-13-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-pcf85363.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pcf85363.c b/drivers/rtc/rtc-pcf85363.c index 8c2dcbac0d7b..bb3e9ba75f6c 100644 --- a/drivers/rtc/rtc-pcf85363.c +++ b/drivers/rtc/rtc-pcf85363.c @@ -424,7 +424,7 @@ static int pcf85363_probe(struct i2c_client *client, return ret; } -static const struct of_device_id dev_ids[] = { +static const __maybe_unused struct of_device_id dev_ids[] = { { .compatible = "nxp,pcf85263", .data = &pcf_85263_config }, { .compatible = "nxp,pcf85363", .data = &pcf_85363_config }, { /* sentinel */ } -- 2.29.2