Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78a76231 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

mtd: msm_qpic_nand: fix compilation warning



Variable ptable is used only with CONFIG_MSM_SMD=y

Change-Id: I033103ea6f7f54882ae6a4e8063c95aff8e372d8
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 0d7a8b55
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -336,7 +336,9 @@ struct flash_partition_table {
	struct flash_partition_entry part_entry[FLASH_PTABLE_MAX_PARTS_V4];
};

#ifdef CONFIG_MSM_SMD
static struct flash_partition_table ptable;
#endif

static struct mtd_partition mtd_part[FLASH_PTABLE_MAX_PARTS_V4];