Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2179087rwi; Fri, 28 Oct 2022 04:08:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lcPHRPP0TgJTIqDtCapibRD6DCmT5v+7Pw0cC9vXpMNR6GY0iavjhCnmnWM+S7ze14REx X-Received: by 2002:a17:906:58c7:b0:722:f4bf:cb75 with SMTP id e7-20020a17090658c700b00722f4bfcb75mr45923394ejs.450.1666955328695; Fri, 28 Oct 2022 04:08:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666955328; cv=none; d=google.com; s=arc-20160816; b=ZiL3emo6IC/uCplFHlchacydlDDhIrhG0boDTrQ1ZPxcAaLVXIPdBBNZ3zhrE1HkNL Sy8FXb2j/Y2M4P1HYazGPuchrPd38e1cj4S0HsSyfYYF8qCz5jRttnNujid44+FQKYSE 2HgfDXafjY3HkZKepSLIQhxarWy5qds+GkD30QEScU0HJQNGwDoV5ITdsVs1s5Hos5bJ zf3rhODCoppM4aMDJmK7v0WvR7Q+3ReVYKRVrR4Emh+43P/OwldyR3BfR4tjbmqBEDaz DNaA/SoVqE0b6haB2jV7285Bf+AvQwws8s4hZQR6HCgRWH0JzjLyAGOqxbzWlcxzDwHS NIHw== 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=qYpq4OE3GYwc390yq5rdu/0vRQjWtVOqD4VHkw9gAMc=; b=NGqVuF0gU0yPWn/nfWZpug7Goe6D6bWsvSzJaB9RMUqbXO+00zIcBUlMrlMg7Q6kZG 7uBaBrMaTTZHbwf2Yn2A5LQmiqprP79zHtZWNZfciekRJKo7SdbhUE0MvOkxXwouCycj yKTZ8L4fInZTgnV8eZ2Ifusrw/MgU6nuQjmEmSBfz3kM3ZQrTmK1SGE4iro65YSHw/j3 teST9ENoy3YjTqJn4DR8AbtzK3bgbV1lsUreylMiM9wj4Adk2Vzxa24QBrRThQ2aXXV2 OAuWo0DoBpAsY1L8cVnjc6jrzS9pRYf4ajMGw9wQSlvUN4Cxb4i6ApHaBkHlfLpZD/Jt DqPw== 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 gf14-20020a170906e20e00b007a9b7e68634si3605184ejb.515.2022.10.28.04.08.22; Fri, 28 Oct 2022 04:08:48 -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 S230443AbiJ1Kgr (ORCPT + 99 others); Fri, 28 Oct 2022 06:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbiJ1KgM (ORCPT ); Fri, 28 Oct 2022 06:36:12 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36CEF3DF07; Fri, 28 Oct 2022 03:36:12 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 7978A8186; Fri, 28 Oct 2022 10:26:47 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: Grygorii Strashko , Keerthy , Ladislav Michl , Nishanth Menon , Suman Anna , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Janusz Krzysztofik Subject: [PATCH] clocksource/drivers/timer-ti-dm: Make timer_get_irq static Date: Fri, 28 Oct 2022 13:36:04 +0300 Message-Id: <20221028103604.40385-1-tony@atomide.com> X-Mailer: git-send-email 2.37.3 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 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 make timer_get_irq() static as noted by Janusz. It is only used by omap_rproc_get_timer_irq() via platform data. Reported-by: Janusz Krzysztofik Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-dm.c | 2 +- include/clocksource/timer-ti-dm.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 @@ -643,7 +643,7 @@ static int omap_dm_timer_free(struct omap_dm_timer *cookie) return 0; } -int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) +static int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) { struct dmtimer *timer = to_dmtimer(cookie); if (timer) diff --git a/include/clocksource/timer-ti-dm.h b/include/clocksource/timer-ti-dm.h --- a/include/clocksource/timer-ti-dm.h +++ b/include/clocksource/timer-ti-dm.h @@ -62,8 +62,6 @@ struct omap_dm_timer { }; -int omap_dm_timer_get_irq(struct omap_dm_timer *timer); - u32 omap_dm_timer_modify_idlect_mask(u32 inputmask); /* -- 2.37.3