summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-31 12:34:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-02 09:21:32 +0200
commit16d803ca4d10933a50c53feb82175058b49175f7 (patch)
treead75ac7eb10b5070596114dad366b1e47508170b
parentc69a3469ea8ac29f9c041d1c5ed6d564e5352544 (diff)
Revert "ARM: ep93xx: fix missing-prototype warnings"
This reverts commit 2e50d55578b05664b11538f0a280541c100caefe which is commit 419013740ea1e4343d8ade535d999f59fa28e460 upstream. It breaks the build, so should be reverted. Reported-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/98dbc981-56fa-4919-afcc-fdf63e0a1c53@roeck-us.net Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm/mach-ep93xx/timer-ep93xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/timer-ep93xx.c b/arch/arm/mach-ep93xx/timer-ep93xx.c
index b07956883e16..de998830f534 100644
--- a/arch/arm/mach-ep93xx/timer-ep93xx.c
+++ b/arch/arm/mach-ep93xx/timer-ep93xx.c
@@ -9,7 +9,6 @@
#include <linux/io.h>
#include <asm/mach/time.h>
#include "soc.h"
-#include "platform.h"
/*************************************************************************
* Timer handling for EP93xx
@@ -61,7 +60,7 @@ static u64 notrace ep93xx_read_sched_clock(void)
return ret;
}
-static u64 ep93xx_clocksource_read(struct clocksource *c)
+u64 ep93xx_clocksource_read(struct clocksource *c)
{
u64 ret;