linux/arch/mips/generic
Paul Burton b47e9c62f2 MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated()
arch/mips/generic/init.c provides an implementation of the
plat_fdt_relocated() function, but doesn't include the asm/bootinfo.h
header which declares it. This leads to a warning from sparse:

arch/mips/generic/init.c:94:13: warning: symbol 'plat_fdt_relocated' was
  not declared. Should it be static?

Fix this by including asm/bootinfo.h to get the declaration of
plat_fdt_relocated(). We also #ifdef our definition of
plat_fdt_relocated() such that it is only provided when
CONFIG_RELOCATABLE is set, matching the header & avoiding the redundant
function for non-relocatable kernels.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17166/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-08-29 15:21:54 +02:00
..
board-boston.its.S MIPS: generic: Move Boston FIT image source to its own file 2017-08-29 15:21:52 +02:00
board-ni169445.its.S MIPS: generic: Move NI 169445 FIT image source to its own file 2017-08-29 15:21:52 +02:00
board-sead3.c MIPS: SEAD-3: Set interrupt-parent per-device, not at root node 2017-06-28 12:22:41 +02:00
init.c MIPS: generic: Include asm/bootinfo.h for plat_fdt_relocated() 2017-08-29 15:21:54 +02:00
irq.c
Kconfig MIPS: NI 169445 board support 2017-08-29 15:21:51 +02:00
kexec.c MIPS: generic/kexec: add support for a DTB passed in a separate buffer 2017-01-03 16:34:46 +01:00
Makefile MIPS: generic/yamon-dt: Pull YAMON DT shim code out of SEAD-3 board 2017-06-28 12:22:40 +02:00
Platform MIPS: generic: Move NI 169445 FIT image source to its own file 2017-08-29 15:21:52 +02:00
proc.c
vmlinux.its.S MIPS: generic: Move NI 169445 FIT image source to its own file 2017-08-29 15:21:52 +02:00
yamon-dt.c MIPS: generic/yamon-dt: Use serial* rather than uart* aliases 2017-06-28 12:22:41 +02:00