summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/sbc_gxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/sbc_gxx.c')
-rw-r--r--drivers/mtd/maps/sbc_gxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sbc_gxx.c b/drivers/mtd/maps/sbc_gxx.c
index 556a2dfe94c5..4337d279ad83 100644
--- a/drivers/mtd/maps/sbc_gxx.c
+++ b/drivers/mtd/maps/sbc_gxx.c
@@ -87,7 +87,7 @@ static DEFINE_SPINLOCK(sbc_gxx_spin);
/* partition_info gives details on the logical partitions that the split the
* single flash device into. If the size if zero we use up to the end of the
* device. */
-static struct mtd_partition partition_info[]={
+static const struct mtd_partition partition_info[] = {
{ .name = "SBC-GXx flash boot partition",
.offset = 0,
.size = BOOT_PARTITION_SIZE_KiB*1024 },