summaryrefslogtreecommitdiff
path: root/board/gumstix/duovero/duovero.c
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 /board/gumstix/duovero/duovero.c
parentb1509e3a4aa55b003e814386dd83972858544e55 (diff)
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 'board/gumstix/duovero/duovero.c')
-rw-r--r--board/gumstix/duovero/duovero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gumstix/duovero/duovero.c b/board/gumstix/duovero/duovero.c
index 9671c5aa54..3786842d36 100644
--- a/board/gumstix/duovero/duovero.c
+++ b/board/gumstix/duovero/duovero.c
@@ -128,7 +128,7 @@ void board_mmc_power_init(void)
#define GPMC_BASEADDR_MASK 0x3F
#define GPMC_CS_ENABLE 0x1
-static void enable_gpmc_net_config(const u32 *gpmc_config, struct gpmc_cs *cs,
+static void enable_gpmc_net_config(const u32 *gpmc_config, const struct gpmc_cs *cs,
u32 base, u32 size)
{
writel(0, &cs->config7);