summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/devices/msm_qpic_nand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/devices/msm_qpic_nand.c b/drivers/mtd/devices/msm_qpic_nand.c
index 26a0c5dcc7c1..8cbbfde99ee0 100644
--- a/drivers/mtd/devices/msm_qpic_nand.c
+++ b/drivers/mtd/devices/msm_qpic_nand.c
@@ -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];