Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp219859pxb; Tue, 2 Feb 2021 03:33:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp6mFDv1C6la2bD0ScKvd7N1WAWbSxVfhp3NbtjEoJsU9GrISXymIXQ+OPL22PvSDKQe4z X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr24072466edc.102.1612265615748; Tue, 02 Feb 2021 03:33:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265615; cv=none; d=google.com; s=arc-20160816; b=PEdalcTTH/gfIUP3IwAY+gcLygA2QbiBn5DF6aICXA/Jl1/zVFJudwFFEGjjHQEVmo UsCkXzHvJbP3Pt3KzjvnpEkLqg8pM9XuSkSk0Fr6Kw6BQIfNFT0B0wqdA5qgo9lAG1rU g/bVztBFw8mVGlLva+GQQTaTHEQTNljAoe3BkwJ1SrbmKIpOHcrXZdqSJANw2mxKCpEf 4Mdlu+sJhCkBVz9Xj+Cp0ylYI4KjUrQwDhdv42laSsuSPpnRn6Lw+694TJKRk3qm20uz YzwAMlrrOda/XHvtobAk6AZOOxT+vf1Nq1IryuyOt4QZA3vIhUw4blPoAMdSySymhRxE wALw== 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=wnyecPW1EYq3Q1BXDQWfS1n3kdWBcrqau0MNES3hbGc=; b=uGlDqBiBftUumCqKutO8J7hOlEuvvKG5FhOUCqYOwohyiWYh8cCmQPLo6811rm4+pu tK5GBCI9ZTC0nXZXIMb6Ye+TJTef0uAFI29kUdYo0AKyjIPRmKK/O/aq4dzzcfhujYlb Qzm+7DPOg7HoZj0xH22iT0qWgtQjwlz4XVmOxBNPipy9lE5+iCTz9/ZsfyfZkjuNwGWi DZ25FYPaCFt5qd3UPu6so5Kbf0i0gN5E9+lzWPwoHalE+Jcsh9r+Gwmv57oHrLnpOcHM 73iju04a/bYaxokirfWJzdPSku8GN6gLIV9NxqBiRC+to20Tseav3N/Ks6MKIGR+vy4H 0n7Q== 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 hp16si12325697ejc.16.2021.02.02.03.33.11; Tue, 02 Feb 2021 03:33:35 -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 S231350AbhBBLaS (ORCPT + 99 others); Tue, 2 Feb 2021 06:30:18 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57747 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbhBBLXT (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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 20AC4FF80B; 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 07/21] rtc: ds3232: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:04 +0100 Message-Id: <20210202112219.3610853-8-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-ds3232.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds3232.c b/drivers/rtc/rtc-ds3232.c index 535e4a88fbb6..168bc27f1f5a 100644 --- a/drivers/rtc/rtc-ds3232.c +++ b/drivers/rtc/rtc-ds3232.c @@ -592,7 +592,7 @@ static const struct i2c_device_id ds3232_id[] = { }; MODULE_DEVICE_TABLE(i2c, ds3232_id); -static const struct of_device_id ds3232_of_match[] = { +static const __maybe_unused struct of_device_id ds3232_of_match[] = { { .compatible = "dallas,ds3232" }, { } }; -- 2.29.2