From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMg5r-0005xQ-Q2 for barebox@lists.infradead.org; Sat, 26 May 2018 20:47:17 +0000 Received: by mail-pf0-x244.google.com with SMTP id c10-v6so4084810pfi.12 for ; Sat, 26 May 2018 13:47:05 -0700 (PDT) From: Andrey Smirnov Subject: [PATCH v2 30/48] clocksource: armv8-timer: Make armv8_clocksource_read() static Date: Sat, 26 May 2018 13:44:33 -0700 Message-Id: <20180526204451.16530-31-andrew.smirnov@gmail.com> In-Reply-To: <20180526204451.16530-1-andrew.smirnov@gmail.com> References: <20180526204451.16530-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org To: barebox@lists.infradead.org Cc: Andrey Smirnov There are no users of that function outside of the driver itself, so re-declare it as static. Signed-off-by: Andrey Smirnov --- drivers/clocksource/armv8-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/armv8-timer.c b/drivers/clocksource/armv8-timer.c index c5306dcd2..5e0b9ef3c 100644 --- a/drivers/clocksource/armv8-timer.c +++ b/drivers/clocksource/armv8-timer.c @@ -20,7 +20,7 @@ #include #include -uint64_t armv8_clocksource_read(void) +static uint64_t armv8_clocksource_read(void) { return get_cntpct(); } -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox