xilinx: common: Include header file to fix warning
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Fri, 20 Jan 2023 05:36:14 +0000 (22:36 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 27 Jan 2023 07:42:47 +0000 (08:42 +0100)
Prototype is missing for board_get_usable_ram_top, which is pointed by
below sparse warning. Include init.h header file to fix this.

warning: no previous prototype for 'board_get_usable_ram_top'
[-Wmissing-prototypes].

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230120053617.32463-2-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/common/board.c

index 823d703ea93cc90f78608547ccb291381f5271e2..52a38147ed26c3091b4d2414646c6866906df22a 100644 (file)
@@ -11,6 +11,7 @@
 #include <efi_loader.h>
 #include <env.h>
 #include <image.h>
+#include <init.h>
 #include <lmb.h>
 #include <log.h>
 #include <asm/global_data.h>