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>
This commit is contained in:
Mike Frysinger 2010-10-20 01:15:53 +00:00 committed by Andy Fleming
parent 63fb5a7e4b
commit 5f837c2c0e

View File

@ -548,7 +548,7 @@ retry_scr:
/* frequency bases */ /* frequency bases */
/* divided by 10 to be nice to platforms without floating point */ /* divided by 10 to be nice to platforms without floating point */
int fbase[] = { static const int fbase[] = {
10000, 10000,
100000, 100000,
1000000, 1000000,
@ -558,7 +558,7 @@ int fbase[] = {
/* Multiplier values for TRAN_SPEED. Multiplied by 10 to be nice /* Multiplier values for TRAN_SPEED. Multiplied by 10 to be nice
* to platforms without floating point. * to platforms without floating point.
*/ */
int multipliers[] = { static const int multipliers[] = {
0, /* reserved */ 0, /* reserved */
10, 10,
12, 12,