summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/dmtimer.c
diff options
context:
space:
mode:
authorJon Hunter2012-09-28 19:21:09 +0200
committerJon Hunter2012-11-16 17:35:06 +0100
commitb0cadb3c86fc99553b1f5c38c7770be1ad52aa26 (patch)
tree4ccc0d334334006cc679e11a32ae39996d35e8a9 /arch/arm/plat-omap/dmtimer.c
parentARM: OMAP: Clean-up dmtimer reset code (diff)
downloadkernel-qcow2-linux-b0cadb3c86fc99553b1f5c38c7770be1ad52aa26.tar.gz
kernel-qcow2-linux-b0cadb3c86fc99553b1f5c38c7770be1ad52aa26.tar.xz
kernel-qcow2-linux-b0cadb3c86fc99553b1f5c38c7770be1ad52aa26.zip
ARM: OMAP: Define omap_dm_timer_prepare function as static
The omap_dm_timer_prepare function is a local function only used in the dmtimer.c file. Therefore, make this a static function and remove its declaration from the dmtimer.h file. Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/dmtimer.c')
-rw-r--r--arch/arm/plat-omap/dmtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index 4c28452ba078..efe47744b491 100644
--- a/arch/arm/plat-omap/dmtimer.c
+++ b/arch/arm/plat-omap/dmtimer.c
@@ -128,7 +128,7 @@ static int omap_dm_timer_reset(struct omap_dm_timer *timer)
return 0;
}
-int omap_dm_timer_prepare(struct omap_dm_timer *timer)
+static int omap_dm_timer_prepare(struct omap_dm_timer *timer)
{
int rc;