Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2439384rwb; Mon, 15 Aug 2022 05:39:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR4e8BQx8PHrCLPWubHlrc37dmYhi4f09Plw4NhXpR4v4h5OOUr108/x5wTDbL19NjAZDejo X-Received: by 2002:a63:85c2:0:b0:428:d68c:35c1 with SMTP id u185-20020a6385c2000000b00428d68c35c1mr4705125pgd.77.1660567186330; Mon, 15 Aug 2022 05:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660567186; cv=none; d=google.com; s=arc-20160816; b=r+XLs0FppWQ57OcromqpxYv8LmbwUR2ot7KPmgl63z7teP51HisJhaSlyXa/LmXLV1 1Q1nQM+RbV5WRRFqDhYfjw3inHUhBuw+5ITNiyhGX8+opjYQlN4BJGgTnImnp/u1qm0l J2dKamgKFgpMKkq5vDU8DDTIJRfBVazBJIkiZrp3xgNnYWdmNZ5Evv4ZjJwPcrceqFr9 Q51ykz3r/pNumjDDxT/MPkJS4NXWfc1PIZADOrpMbyX6KFjzOsRL3zMQt5noFM8Tfpip WBDs96MefZ4qcJA+Cg7O+3g+EUsSw9Qj/urfYCMdcknVPJ1yD+wi8isPbvBE4KHAccLK E/Hw== 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 :message-id:date:subject:cc:to:from; bh=ugFMJJhmOXP5+jhXUbtS9/1+Cius7IC95Xz3shdWHBI=; b=rjwxRexvGNQ2m9Pni+73GW/WC7eDzxINyGGWm+PWQm20uL/le/zn/P6dxZAwbLOlHw LhzLE1ak5qix5PcFZ055arJuh1D/El5PsnziuKT3cDIf3UU/v9YFoKKvQJYhxRsR8qz/ GzvYWmROwOjcCfLiKoOVjBreW/zthEpvbeztkHlojixEkoPJm56DTwqZ6iojeU/+WA2I LwSie9MnEjQ01YEz+0r+sGQpyCSeLvm4iA7uxfdNHVxg5/YTBQWOBLJsI+XvU3plW0ZP XLMMR2+TvhJhHBLp5jcxPMJ/RDStuhmC4t1wuRFkbcxO6S1trNYqHoBPjlzSgizjZX5e VVwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l23-20020a63da57000000b0041a3b20ba0esi11181880pgj.383.2022.08.15.05.39.34; Mon, 15 Aug 2022 05:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233277AbiHOMDk (ORCPT + 99 others); Mon, 15 Aug 2022 08:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiHOMDj (ORCPT ); Mon, 15 Aug 2022 08:03:39 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 716DE22B3F; Mon, 15 Aug 2022 05:03:38 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 26A7A80FB; Mon, 15 Aug 2022 11:56:45 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel test robot Subject: [PATCH] clocksource/drivers/timer-ti-dm: Fix compile test warning Date: Mon, 15 Aug 2022 15:03:34 +0300 Message-Id: <20220815120334.51887-1-tony@atomide.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We can get a warning with COMPILE_TEST enabled for omap_timer_match for 'omap_timer_match' defined but not used. Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3") Reported-by: kernel test robot Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -1040,7 +1040,7 @@ static const struct dmtimer_platform_data am6_pdata = { .timer_ops = &dmtimer_ops, }; -static const struct of_device_id omap_timer_match[] = { +static const __maybe_unused struct of_device_id omap_timer_match[] = { { .compatible = "ti,omap2420-timer", }, -- 2.37.1