summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2019-10-18 11:54:10 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2019-10-31 17:58:55 +0100
commitca045579d2088d04824a952c72b2c9cce1038240 (patch)
tree52929b5a034234f7faff00aa9cbc8cc18d6b0c10 /arch/arm/kernel
parentARM: 8923/1: mm: include <asm/vga.h> for vga_base (diff)
downloadlinux-ca045579d2088d04824a952c72b2c9cce1038240.tar.xz
linux-ca045579d2088d04824a952c72b2c9cce1038240.zip
ARM: 8924/1: tcm: make dtcm_end and itcm_end static
The dtcm_end and itcm_end are not exported or used elsewhere, so make them static to remove the following sparse warnign: arch/arm/kernel/tcm.c:33:5: warning: symbol 'dtcm_end' was not declared. Should it be static? arch/arm/kernel/tcm.c:34:5: warning: symbol 'itcm_end' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/tcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/tcm.c b/arch/arm/kernel/tcm.c
index 9d9b1db73932..65448d5f26ec 100644
--- a/arch/arm/kernel/tcm.c
+++ b/arch/arm/kernel/tcm.c
@@ -30,8 +30,8 @@ extern char __itcm_start, __sitcm_text, __eitcm_text;
extern char __dtcm_start, __sdtcm_data, __edtcm_data;
/* These will be increased as we run */
-u32 dtcm_end = DTCM_OFFSET;
-u32 itcm_end = ITCM_OFFSET;
+static u32 dtcm_end = DTCM_OFFSET;
+static u32 itcm_end = ITCM_OFFSET;
/*
* TCM memory resources