diff options
author | Ben Dooks <ben-linux@fluff.org> | 2019-10-18 11:54:17 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-10-31 17:58:56 +0100 |
commit | 5b1e58c75d4123d9a8c237d147db01b404e56330 (patch) | |
tree | ac9171c4d86b2682dddeade6c16900646d4d553a /arch/arm/kernel | |
parent | ARM: 8924/1: tcm: make dtcm_end and itcm_end static (diff) | |
download | linux-5b1e58c75d4123d9a8c237d147db01b404e56330.tar.xz linux-5b1e58c75d4123d9a8c237d147db01b404e56330.zip |
ARM: 8925/1: tcm: include <asm/tcm.h> for missing declarations
The arch/arm/kernel/tcm.c should include <asm/tcm.h>
for declarations of tcm_alloc, tcm_free and other
functions. Fixes the following sparse warnings:
arch/arm/kernel/tcm.c:74:6: warning: symbol 'tcm_alloc' was not declared. Should it be static?
arch/arm/kernel/tcm.c:92:6: warning: symbol 'tcm_free' was not declared. Should it be static?
arch/arm/kernel/tcm.c:98:6: warning: symbol 'tcm_dtcm_present' was not declared. Should it be static?
arch/arm/kernel/tcm.c:104:6: warning: symbol 'tcm_itcm_present' 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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/tcm.c b/arch/arm/kernel/tcm.c index 65448d5f26ec..d3a85f01b328 100644 --- a/arch/arm/kernel/tcm.c +++ b/arch/arm/kernel/tcm.c @@ -18,6 +18,7 @@ #include <asm/memory.h> #include <asm/system_info.h> #include <asm/traps.h> +#include <asm/tcm.h> #define TCMTR_FORMAT_MASK 0xe0000000U |