Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp215218pxb; Tue, 2 Feb 2021 03:25:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5btMAu1jzk/qMcEbne2Xu7v3780ZOvLAgWxUkgdHEaVicqusyVtginiPmX+zotYEyeWFi X-Received: by 2002:a05:6402:b85:: with SMTP id cf5mr1576828edb.368.1612265140635; Tue, 02 Feb 2021 03:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265140; cv=none; d=google.com; s=arc-20160816; b=u0IJKltA9SLWKv04Uo6wxgREIk4u58ysOKJhWqb+aK4/nrXF7SBCO1ph4LPNBghHnY oEFXsOXT0VN5UeCbq0KRlzYyUxR+pARwIBJ4VyMtxp3mr6n+gTGTfYXiNPtGXn27Vl36 lfXdhhL+mxkp12znc1DKeBaDMhbBR1w0+BdT16HDJKHgDDjBjpUPAEBqBtnOk48xUxr3 Q2bno9oFko7UCzipybWCO5pNHpgHmzapc6LSHqTEvP49c7ajHI5/BQbqfpXX+roxje3b AIi1AJjMjp59jDMWxv08P9AyzUdrwlHVK1C3K20RvcjXjiYtdsEkKJXu1cX8mjS1hafn GvaA== 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=dJIAPRhptie+b55iqluAJM1qlyDKOqkpnAry2SCgSWw=; b=cJI9WO5VoCi+bL9PwXP0yTtyGlDSj8KG1zwTWk59/6BcaR8Lpl+NJAAcC3VoGidiwP SVRaksbNHsQfe+bwrKyJO2yGYfr7UgXgCC0X1MrRAG4wMMQxZsk7Z3zv3ByRDnkwZUxs rcgAauby6Dwiv7maQtnkgEQpOJToDsLvz8wYZgkJWPdKVg9tBQ72KTod2sER/OIZ1Gs/ Bc0t2fYgo5Cd8VLXMR7tIEHR7rC1BSfvZALzRZah2SlNf/5w93aaOUAFb6zi6uQfDbRn 5S6wagAoUwoS2eNg9YNolgPDmuh+2DHSOFU4Np0ZIIMtCyjVQ+1uekdl1GXoDg3hQx1G /2hw== 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 x11si13902493edi.73.2021.02.02.03.25.16; Tue, 02 Feb 2021 03:25:40 -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 S230371AbhBBLX0 (ORCPT + 99 others); Tue, 2 Feb 2021 06:23:26 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:54219 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbhBBLXT (ORCPT ); Tue, 2 Feb 2021 06:23:19 -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 relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8B12D60007; Tue, 2 Feb 2021 11:22:33 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 09/21] rtc: m41t80: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:06 +0100 Message-Id: <20210202112219.3610853-10-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-m41t80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index ee0c1be0354e..cce5b5284658 100644 --- a/drivers/rtc/rtc-m41t80.c +++ b/drivers/rtc/rtc-m41t80.c @@ -85,7 +85,7 @@ static const struct i2c_device_id m41t80_id[] = { }; MODULE_DEVICE_TABLE(i2c, m41t80_id); -static const struct of_device_id m41t80_of_match[] = { +static const __maybe_unused struct of_device_id m41t80_of_match[] = { { .compatible = "st,m41t62", .data = (void *)(M41T80_FEATURE_SQ | M41T80_FEATURE_SQ_ALT) -- 2.29.2