Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp215055pxb; Tue, 2 Feb 2021 03:25:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOaBvaNegtcOEFbVizomXAkpOGejYOWb97h5rt/NLG3LG2IRYdqC9/+TheN/39qs/d5KPT X-Received: by 2002:a05:6402:270e:: with SMTP id y14mr22733748edd.322.1612265125636; Tue, 02 Feb 2021 03:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612265125; cv=none; d=google.com; s=arc-20160816; b=KWPSopSFE/QsB+GCHjuba+MvmvF8nNvZZIsMxvGrzSxRmgQlwjhOaSyfwHLgHPxJ6H /zJvv/SPXbIoRMDsxqlfJzZqXHF47IRoxwDRipB+82QXxZazdM0eCmSdReUupD3A6qRa 1KRCy7KV4oLmsS2ovkGEMlF7s3NMGrcWVKAja3HJomR92ZF16yHLf3tMH5j+6A+7V7pH 9gJcSuSn+ky1IjQNh8TAU6fCK+D3wOH5oXHljmlN6YPqIP5N8fBXPRdSE5VfDab3y2PJ JBbtZuvxpo61jN/e7Nulr6zkD7cxDW2T6Fbe26I/qs3+GwmosKRJBItbh9N2wPntuOYj FyZw== 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=URfZYIhwTaBXjDKGOCp0nWiZso4zmntR0c/e0cK0//c=; b=nSZ2XitzG+ayPzVaJkGlH1MnDbgInLfjDMtGKDB/TojaNUDfj65hgZPUWNYFcRQY3P VyW38PmBmRBPWuqK80GLuDbRiRQu6z4TZssWC27GNyYCr+SwRRKLRks9D6eqFYpKQjOd QTs8rjQuXVWiveRBUnQalYNOcfz3eP9lGah5vZZ2+cp5gRGPX/M5f9RQ1hyRh3BIJo8G ArUWENzQbaLBNmThjTZtAmBlSiFEdG2rHS88/IKlzg95mQkHJ99U1njo+rAsKLy3k44Z XC0Lyxi37oKOtmSqnwr8t9lQvv7oj/opy+UhfCxUDyLmyO9Y5QcvEWSae4LZwDCpWbXD lajQ== 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 w4si11992877ejb.499.2021.02.02.03.25.01; Tue, 02 Feb 2021 03:25:25 -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 S230248AbhBBLXU (ORCPT + 99 others); Tue, 2 Feb 2021 06:23:20 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40789 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhBBLXK (ORCPT ); Tue, 2 Feb 2021 06:23:10 -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 relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 5895BE0005; Tue, 2 Feb 2021 11:22:26 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/21] rtc: brcmstb-waketimer: quiet maybe-unused variable warning Date: Tue, 2 Feb 2021 12:22:01 +0100 Message-Id: <20210202112219.3610853-5-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-brcmstb-waketimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c index 0366e2ff04ae..c74130e8f496 100644 --- a/drivers/rtc/rtc-brcmstb-waketimer.c +++ b/drivers/rtc/rtc-brcmstb-waketimer.c @@ -306,7 +306,7 @@ static int brcmstb_waketmr_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(brcmstb_waketmr_pm_ops, brcmstb_waketmr_suspend, brcmstb_waketmr_resume); -static const struct of_device_id brcmstb_waketmr_of_match[] = { +static const __maybe_unused struct of_device_id brcmstb_waketmr_of_match[] = { { .compatible = "brcm,brcmstb-waketimer" }, { /* sentinel */ }, }; -- 2.29.2