Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp217068pxb; Tue, 2 Feb 2021 03:29:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1V6Es5zwQ3qynk+ZlJZkoZtDsrzCTpZR4fhrao+ec1BKfoZzRUDWvQGAggbjkGwxJfTZL X-Received: by 2002:a50:bf4a:: with SMTP id g10mr22679696edk.201.1612265348281; Tue, 02 Feb 2021 03:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265348; cv=none; d=google.com; s=arc-20160816; b=V7MH89YESP4MG6f9AAZ4CAxwd0u4rafaiGPhy8rSedB+o0iQKEfFx/VhXUcSMwHina kLeQLc01V23TLmrwEj+ZaS50Dxrx0HWmVxgjyK1Mmx1GDHjmse9pPZM8XtXrlpVEU7N0 6IvmQYb5iZxCAjHT4fxL3rghTIKXYFELrLAFR/95pHzyGL6pBM5ohcza+Y38LaKqG61n YsaQ4p5VViYq/uMgCufxv1ZWFGGHDTEuUXsyLiG3Ei9oqfHgzKAp2vIOpJMB44aIGqaG jwhxUcUcis+6PW9CJx77o6S9bQbiaukNLs1KpcyM4BFH2I1HdZzWwbc6qFZDIn71ni29 KaSA== 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=IZwgk4fXE9NYsoQVjVSzqfi3mXfT9iUUaiaT5xFSUtU=; b=zZPk3zR/MZgVYRIJ97ncbuiWVGvfYqut0ibmIcSM9TyavEFFGhDxOvk9/cZwuDC5BS rtNYKo5FMFG7SzfzStt8u9zjQ9xDcc8UzCvoMTgrSjNqHgRibOYSH2I6xxQ5VhnK0Qnn ugP6bWNCR39ws7B6W8OWPTJ4rqrmOPzfdNyO+dhXS5b14e1ErkKaYGJ+GWgk0n0wVtkG KXjCvuRLUU2iWMsfYCrVnSwcmRrJu2S0GJClqNu6LXF9cvJUDY2A1hhO2HX+zyYtXt9q xOdnOSg88YZKv+8cLF/bOCo/EdznnATep9VzYCEKKe+vAsroMRxTI8MVpb4vaGdc9o62 oJfA== 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 z22si12001793ejo.53.2021.02.02.03.28.44; Tue, 02 Feb 2021 03:29: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 S231376AbhBBL0W (ORCPT + 99 others); Tue, 2 Feb 2021 06:26:22 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:55791 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbhBBLX1 (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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id AFE6540010; Tue, 2 Feb 2021 11:22:39 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni Cc: linux-kernel@vger.kernel.org Subject: [PATCH 13/21] rtc: rs5c372: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:10 +0100 Message-Id: <20210202112219.3610853-14-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-rs5c372.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c index 3bd6eaa0dcf6..80980414890c 100644 --- a/drivers/rtc/rtc-rs5c372.c +++ b/drivers/rtc/rtc-rs5c372.c @@ -83,7 +83,7 @@ static const struct i2c_device_id rs5c372_id[] = { }; MODULE_DEVICE_TABLE(i2c, rs5c372_id); -static const struct of_device_id rs5c372_of_match[] = { +static const __maybe_unused struct of_device_id rs5c372_of_match[] = { { .compatible = "ricoh,r2025sd", .data = (void *)rtc_r2025sd -- 2.29.2