Commit aadfac253442870c8bfebc6afddfd2856eb0db73

Authored by Ji Luo
1 parent 1cf288f006

MA-14898 Fix build warnings

Include correct header files to avoid build warning:
  common/image-android.c:151:68: warning: implicit declaration
  of function ‘mmc_get_env_dev’ [-Wimplicit-function-declaration]
  " androidboot.boot_device_root=mmcblk%d", mmc_map_to_kernel_blk(mmc_get_env_dev()));

Change-Id: I932a178500e7397f72d717efae0dd2d954a909d8
Signed-off-by: Ji Luo <ji.luo@nxp.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

common/image-android.c
... ... @@ -21,6 +21,7 @@
21 21 #include <fb_fsl.h>
22 22 #include <asm/setup.h>
23 23 #include <dm.h>
  24 +#include <mmc.h>
24 25  
25 26 #define ANDROID_IMAGE_DEFAULT_KERNEL_ADDR 0x10008000
26 27