ARM: 8925/1: tcm: include <asm/tcm.h> for missing declarations
authorBen Dooks <ben-linux@fluff.org>
Fri, 18 Oct 2019 09:54:17 +0000 (10:54 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 Oct 2019 16:58:56 +0000 (16:58 +0000)
commit5b1e58c75d4123d9a8c237d147db01b404e56330
treeac9171c4d86b2682dddeade6c16900646d4d553a
parentca045579d2088d04824a952c72b2c9cce1038240
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>
arch/arm/kernel/tcm.c