From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQdRG-0000y2-P2 for barebox@lists.infradead.org; Wed, 06 Jun 2018 18:46:53 +0000 Received: by mail-pg0-x243.google.com with SMTP id p9-v6so3432479pgc.9 for ; Wed, 06 Jun 2018 11:45:32 -0700 (PDT) From: Andrey Smirnov Date: Wed, 6 Jun 2018 11:44:22 -0700 Message-Id: <20180606184431.10348-30-andrew.smirnov@gmail.com> In-Reply-To: <20180606184431.10348-1-andrew.smirnov@gmail.com> References: <20180606184431.10348-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 Subject: [PATCH v3 29/38] clocksource: armv8-timer: Make armv8_clocksource_read() static 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