summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2016-07-12 20:28:16 +0200
committerTom Rini <trini@konsulko.com>2016-07-22 14:46:00 -0400
commit0568dd0663429b00fb77c452e27434c2f4faa14b (patch)
treee52c5496dc78faaa9126433f3b233416e7baf55a /include/linux/mtd
parentb1509e3a4aa55b003e814386dd83972858544e55 (diff)
downloadu-boot-0568dd0663429b00fb77c452e27434c2f4faa14b.tar.gz
armv7: make gpmc_cfg const
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> [trini: Adapt am33xx, duovero, omap_zoom1] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/omap_gpmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/omap_gpmc.h b/include/linux/mtd/omap_gpmc.h
index 3a75674359..f49ea3d4c4 100644
--- a/include/linux/mtd/omap_gpmc.h
+++ b/include/linux/mtd/omap_gpmc.h
@@ -92,6 +92,6 @@ struct gpmc {
};
/* Used for board specific gpmc initialization */
-extern struct gpmc *gpmc_cfg;
+extern const struct gpmc *gpmc_cfg;
#endif /* __ASM_OMAP_GPMC_H */