diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 01:15:53 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-04-13 06:35:22 -0500 |
commit | 5f837c2c0ebda8f22474d26f85857993fb81ad7c (patch) | |
tree | d44e76c353b376358f8f37113e8f9f9b5da8aeeb | |
parent | 63fb5a7e4b0ada0bf77dd89120a61d2bd14e50af (diff) | |
download | u-boot-imx-5f837c2c0ebda8f22474d26f85857993fb81ad7c.zip u-boot-imx-5f837c2c0ebda8f22474d26f85857993fb81ad7c.tar.gz u-boot-imx-5f837c2c0ebda8f22474d26f85857993fb81ad7c.tar.bz2 |
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>
-rw-r--r-- | drivers/mmc/mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 1355735..e8bc4b8 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, |