rockchip: resrouce_img: fix compile warning
Change-Id: I495e289b915dedbfe456d15d28fbc3da4c466fa6 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
6f3eb47422
commit
3e0b6ad9e6
|
|
@ -153,9 +153,11 @@ static int init_resource_list(struct resource_img_hdr *hdr)
|
|||
int offset = 0;
|
||||
int mode = 0;
|
||||
struct blk_desc *dev_desc;
|
||||
struct andr_img_hdr *andr_hdr;
|
||||
disk_partition_t part_info;
|
||||
#ifdef CONFIG_ANDROID_BOOT_IMAGE
|
||||
struct andr_img_hdr *andr_hdr;
|
||||
char *boot_partname = PART_BOOT;
|
||||
#endif
|
||||
|
||||
if (hdr) {
|
||||
content = (void *)((char *)hdr
|
||||
|
|
|
|||
Loading…
Reference in New Issue