From patchwork Fri Oct 28 10:35:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 13023377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF25DECAAA1 for ; Fri, 28 Oct 2022 10:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9P7NLQyTN09aXwhDP2uEs4mbeK693BPGEds3OA2Ct/o=; b=lu5SoIxeglXJF9 PhGM4WrYTsKtPfJMF2ejGr6XIns2XWxbN7jNx02iazPXRJxkrWsT7u93favi4+J6KpR7a8fEaK6Kh 7D2YlKBtskJhljnDxsaZ8NywA3OVzaFRDg5nmRjvAonOXbyC1taM3BsWYQU8uYvXoOj2baYkap2VJ CfDSDc7ncKlCvOcwzdNFhWYu+PmDBrrhWFyo+TxGCUYskB1/Rx/k6rn/J46U75G+5s9vTpg73xmhG g2Yq1B3XPnqNjKinBMm+O82Xrugk5LfNWDmerFnOGDwWYLymfDv0vCOd2oIxdXuQuJ4KYD8ZwCRw1 1iisl0pGU3TBxzSTawvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooMiB-00Gh7d-64; Fri, 28 Oct 2022 10:35:39 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooMi7-00Gh5B-U8 for linux-arm-kernel@lists.infradead.org; Fri, 28 Oct 2022 10:35:37 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 7398C8061; Fri, 28 Oct 2022 10:26:08 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Subject: [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match Date: Fri, 28 Oct 2022 13:35:26 +0300 Message-Id: <20221028103526.40319-1-tony@atomide.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221028_033536_034592_DFFA5B13 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Grygorii Strashko , Vignesh Raghavendra , Keerthy , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ladislav Michl , linux-arm-kernel@lists.infradead.org, kernel test robot Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We can now get a warning for 'omap_timer_match' defined but not used. Let's fix this by dropping of_match_ptr for omap_timer_match. Reported-by: kernel test robot Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3") 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 @@ -1258,7 +1258,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, }, };