MIPS: lantiq: xway: add prototype for ltq_get_cp1_base()
authorShiji Yang <yangshiji66@outlook.com>
Wed, 18 Jun 2025 14:53:18 +0000 (22:53 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 3 Jul 2025 10:35:10 +0000 (12:35 +0200)
commit3f8565be1e848de86c1cc98285ac27a4a9bcb161
tree7b975e6309e8c66bbddb839406ac12f64d4b8f3e
parente23bd7f95a86c4fc5da5499a3bdc95aa7518f7eb
MIPS: lantiq: xway: add prototype for ltq_get_cp1_base()

ltq_get_cp1_base() is an exported function, we must define
its prototype on header file. Fix warning:

arch/mips/lantiq/xway/vmmc.c:22:15: error: no previous prototype for 'ltq_get_cp1_base' [-Werror=missing-prototypes]
   22 | unsigned int *ltq_get_cp1_base(void)
      |               ^~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h