diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2014-03-18 06:03:02 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-03-18 06:02:59 -0700 |
commit | 47d53bf28a2d7c5b260b790761e59fd6f71a3015 (patch) | |
tree | c6000b4466a82ad43315a0d91530f4075abd314a /drivers/mtd | |
parent | 067cea2f8e17fd9417209532897e64ef80e00c86 (diff) | |
parent | 78a762314411fc1f5871f2899423234b59ef70ba (diff) |
Merge "mtd: msm_qpic_nand: fix compilation warning"
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/msm_qpic_nand.c | 2 |
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]; |