Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp217482pxb; Tue, 2 Feb 2021 03:29:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+l0RhCH33LFOkce8bHEtygEmeLza51Eqv2ObF2w/SiASu3D2xe0ncC3TZi79A/M/UrX7R X-Received: by 2002:a05:6402:1013:: with SMTP id c19mr23230754edu.298.1612265389183; Tue, 02 Feb 2021 03:29:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265389; cv=none; d=google.com; s=arc-20160816; b=SLxknVHeFP3r+rKN9aEkdauNK7MTZ8vrviWMyBjoeZi5qGyoAp056HcJH4nb+COptE JjN3/Y6+ooNbMeplCxE74PwnUmri3a5FLQ5O07/T+mLFCjWZqnA+tUOD0TKZ6Cr1KFYR qpj952WPYb/lCZMFd9wMASVLnkoD9KAAHT7KhEVyZwt0Pfbp/ZXiMxNHUfSJM2RfMqS/ /yfqeoyrPsEPUd2vruomvjYnJdd8i5uKQDfkc9BHHSQ43qdxG7gVjlOl3XsVevCclBy9 6mBHIc3ijeS6ijY4i5snfvefjY8943ZppDY252L3eR7PlGwntkDR2wgH6ILrEcimMbQs QaZg== 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=glFNLA+o42t29uZItA1rLOyOUXruS3CIkMSBW9N9TMM=; b=qFRPmifJG0cVSDe08kzgsPKns0qHc3fTvwdizLGBoCEP6cyPFaHOcwkldxEhX5Qg7q rJA1y8wywr3HAAoYCiC+8yidxeipik0NW9VpmkFBtoS50moqzCFZH1d8ikRqOXlzWEu5 C+dZT23JUplkx0NMZ/ew6Vd8G1cl9KqDogcBFkF95g7w8/AsD+OVi1jlZI05/sUohsgc n2GR1cNKncNNjA/zXAJHvqjILCV0gZFMgArLw2y0p+UZRqzZMpwqEYDR+jnlWJxqNU12 hK+SYFxnG+RQP76KyjHqYswOYa7obImHf6pFNlPXXaXeDMNOrAbK9tMOJqaq1Abx5QCp fvzg== 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 hc18si9944880ejc.268.2021.02.02.03.29.24; Tue, 02 Feb 2021 03:29:49 -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 S231183AbhBBL1o (ORCPT + 99 others); Tue, 2 Feb 2021 06:27:44 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:59605 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbhBBLXX (ORCPT ); Tue, 2 Feb 2021 06:23:23 -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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id CBE1EFF80C; Tue, 2 Feb 2021 11:22:32 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 08/21] rtc: isl1208: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:05 +0100 Message-Id: <20210202112219.3610853-9-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-isl1208.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index 563a6d9c9fcf..182dfa605515 100644 --- a/drivers/rtc/rtc-isl1208.c +++ b/drivers/rtc/rtc-isl1208.c @@ -99,7 +99,7 @@ static const struct i2c_device_id isl1208_id[] = { }; MODULE_DEVICE_TABLE(i2c, isl1208_id); -static const struct of_device_id isl1208_of_match[] = { +static const __maybe_unused struct of_device_id isl1208_of_match[] = { { .compatible = "isil,isl1208", .data = &isl1208_configs[TYPE_ISL1208] }, { .compatible = "isil,isl1209", .data = &isl1208_configs[TYPE_ISL1209] }, { .compatible = "isil,isl1218", .data = &isl1208_configs[TYPE_ISL1218] }, -- 2.29.2