Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp218258pxb; Tue, 2 Feb 2021 03:31:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxl/0y6fMRjOwl8ZDjq/T/cWw/Tlgx3iGm+mEylVIx1rJ5QP83JC+Wb/NMTWeOErIVaCeKv X-Received: by 2002:a17:906:388a:: with SMTP id q10mr21697018ejd.496.1612265468365; Tue, 02 Feb 2021 03:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265468; cv=none; d=google.com; s=arc-20160816; b=GMDo2TErWGvlmJ99KrYLNXz6SiNFR1tnctXoPZmzBxCQ9VLS7eaGhtPDNGh4HvgcPO a7wToo8K9yLrZ9a2d6gBzK+a+8ExAtCSpiPJcQmUo9Moi4fdB8VpOAgMmy7etrEWTNh7 yHHW4v8AlU/mEVbfmAkxyvDVTBM1SnlqqqtVOTv3+MsH5shPAbOGvSfYAatXEcM2WvFt sn+WJpLbAsmMSiOCsv0BvIGctNVyziVGBitAjv6OTiOhlbOgvgNF81CTv2VpIbbUrRDZ IL7cZ/fKp66vzltjpZUCAMpEIamAb31uG0VmjvXF/soFtVuN//NArDQm92hK59H2/vc9 uNnw== 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=XdS4IpHLoJ37yAtUdW6GNc7VbAfQO4wKj2EYDq4KolQ=; b=aPT+o11a6NTuPxSzP4FEYLGZq8wB6gjKTNMJmCuHVT75RGIt1tdE78g/Zx6klYuPXF oTGN/4sQx+crdSm9s2AkgqVG919V1YQRGaPjYxlNpTS1FoAb63u5sc3NT8yzVPkl+oNM 1sJQa+DlKY0oeJicuOTHCVfC9pV633b8VAGL4ndSdGJg+Blxc8HwKlPHJc7PbOcDkmeo 9bbOmWAD7MKdTswcHQR+iB2OnwfFW23Oxq5loWW3i1jiPu5iShH0GhTJgTsLK48/NF87 2nTnB4WNvNw45/pe/DLtWIJsl9xVdkWzNQZlONnexblJGwuDbxiy0uFagMp0OGxMZbta WLyw== 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 o20si463300ejr.370.2021.02.02.03.30.43; Tue, 02 Feb 2021 03:31:08 -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 S230058AbhBBL2C (ORCPT + 99 others); Tue, 2 Feb 2021 06:28:02 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40613 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbhBBLXU (ORCPT ); Tue, 2 Feb 2021 06:23:20 -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 5E4AE1BF204; Tue, 2 Feb 2021 11:22:31 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 06/21] rtc: ds1672: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:03 +0100 Message-Id: <20210202112219.3610853-7-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-ds1672.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 630493759d15..4cd8efbef6cf 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c @@ -139,7 +139,7 @@ static const struct i2c_device_id ds1672_id[] = { }; MODULE_DEVICE_TABLE(i2c, ds1672_id); -static const struct of_device_id ds1672_of_match[] = { +static const __maybe_unused struct of_device_id ds1672_of_match[] = { { .compatible = "dallas,ds1672" }, { } }; -- 2.29.2