Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2493033rwb; Mon, 15 Aug 2022 06:29:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR4M4jWw5D0d0+V2ZkcennO6+hXIEB7QLwF9QtK5ADNOzRM60s8hJi+BIR3zQV4VZr5Jr0qh X-Received: by 2002:a17:906:cc14:b0:730:d5e9:a12e with SMTP id ml20-20020a170906cc1400b00730d5e9a12emr10134119ejb.515.1660570192432; Mon, 15 Aug 2022 06:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660570192; cv=none; d=google.com; s=arc-20160816; b=qqzNOCh6EpQi0NjSXyynYoZYUXUOeWd5/EzwxzbR5HXcVYPeH+qidWWqllxKA6hHx4 CwFzep444LV0Wj3xQwdqG9Z/rphXlfV3AlLyPHSRYSJhO95Z0r91gvhNqyF1MXtnXZPk vVev2R5bxlDBZf/duhMODmmSfYKB30Yzl0eccZNXHmQtXLjowoJlLbgjfa+HIcTrbxbF W1RMgUpApvWWcIqBFtgc42tUJDNutThrDkLpBy4IAcszulnJg5Mk/3AKEb2GMACa2mcE s9unCe8cpnfEu5sBVKhVUvCBvbfskzTTy5qhH4gbfECLx/nkoI0MjMWx4sf5lZoDghNw gYSA== 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=K3ZotU6MiCaK1ozGNpa11sfpk2DFWvnZK52HnbqOK20=; b=eZ/QpgZuwr2v8m2OX0eZ1+sSK9BEBlrmgUitEivIbcg54NyUjilDPjwg4OLuWpusho t6hjLcoRAFryuC72b6FhBwFKnjcYZV1VUw8uixMxYPYUtIx65CowIWrDW58qrVuz2or8 M9broXL9x8Qz43Ap69VICJZhVH6kQz7GJB0DpYYbot/vg5WDbOo4cXxqO2WzdhPm+Px4 8ktogxmZ/PLCPHhSp3Ez2/dmt0AE39xJXz2YZrMUIHaw3wSQiuD9/bZ5qeyUewEYVFiC l0EkyLCAbxHU/hOxQaBRwTD8Sgi+JGGBPesYUrinfCQrTRwRtOacFlgB+I/hyXTvsZDC 8WFQ== 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 jp10-20020a170906f74a00b00733d7baedd8si6702079ejb.179.2022.08.15.06.29.27; Mon, 15 Aug 2022 06:29:52 -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 S242864AbiHONQw (ORCPT + 99 others); Mon, 15 Aug 2022 09:16:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiHONQu (ORCPT ); Mon, 15 Aug 2022 09:16:50 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 98BEA6301; Mon, 15 Aug 2022 06:16:49 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 2CD7E80FB; Mon, 15 Aug 2022 13:09:57 +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 , Arnd Bergmann Subject: [PATCH v2 1/1] clocksource/drivers/timer-ti-dm: Fix compile test warning Date: Mon, 15 Aug 2022 16:16:41 +0300 Message-Id: <20220815131642.35116-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 Suggested-by: Arnd Bergmann Signed-off-by: Tony Lindgren --- Changes since v1: - Remove of_match_ptr() instead of adding __maybe_unused as suggested by Arnd --- 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 @@ -1081,7 +1081,7 @@ static struct platform_driver omap_dm_timer_driver = { .remove = omap_dm_timer_remove, .driver = { .name = "omap_timer", - .of_match_table = of_match_ptr(omap_timer_match), + .of_match_table = omap_timer_match, .pm = &omap_dm_timer_pm_ops, }, }; -- 2.37.1