aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 01:15:53 +0000
committerAndy Fleming <afleming@freescale.com>2011-04-13 06:35:22 -0500
commit5f837c2c0ebda8f22474d26f85857993fb81ad7c (patch)
treed44e76c353b376358f8f37113e8f9f9b5da8aeeb /drivers
parent63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af (diff)
downloadu-boot-midas-5f837c2c0ebda8f22474d26f85857993fb81ad7c.tar.gz
u-boot-midas-5f837c2c0ebda8f22474d26f85857993fb81ad7c.tar.bz2
u-boot-midas-5f837c2c0ebda8f22474d26f85857993fb81ad7c.zip
mmc: constify & localize data
These local vars need not be writable nor exported. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 1355735a52..e8bc4b869a 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -548,7 +548,7 @@ retry_scr:
/* frequency bases */
/* divided by 10 to be nice to platforms without floating point */
-int fbase[] = {
+static const int fbase[] = {
10000,
100000,
1000000,
@@ -558,7 +558,7 @@ int fbase[] = {
/* Multiplier values for TRAN_SPEED. Multiplied by 10 to be nice
* to platforms without floating point.
*/
-int multipliers[] = {
+static const int multipliers[] = {
0, /* reserved */
10,
12,