[PATCH 06/16] ARM: tcm: move tcm_init() prototype to asm/tcm.h

Linus Walleij linus.walleij at linaro.org
Mon May 22 00:34:17 PDT 2023


On Tue, May 16, 2023 at 5:46 PM Arnd Bergmann <arnd at kernel.org> wrote:

> From: Arnd Bergmann <arnd at arndb.de>
>
> The function definition is in a file that does not include the
> header with the declaration:
>
> arch/arm/kernel/tcm.c:256:13: error: no previous prototype for 'tcm_init'
>
> Move the declaration to a global header where it can actually be
> included.
>
> Fixes: de40614e92bf ("ARM: 7694/1: ARM, TCM: initialize TCM in paging_init(), instead of setup_arch()")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list