summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/env_mmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/env_mmc.c b/common/env_mmc.c
index 9ee9062..1bc71ab 100644
--- a/common/env_mmc.c
+++ b/common/env_mmc.c
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
+ * (C) Copyright 2008-2011 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -63,6 +63,7 @@ int env_init(void)
gd->env_valid = 1;
#ifdef CONFIG_DYNAMIC_MMC_DEVNO
+ extern int get_mmc_env_devno(void);
mmc_env_devno = get_mmc_env_devno();
#else
mmc_env_devno = CONFIG_SYS_MMC_ENV_DEV;