mmc: constify & localize data
PATCH 1/1 mmc: constify & localize data
These local vars need not be writable nor exported.
Signed-off-by Mike Frysinger <[email protected]>
--- drivers/mmc/mmc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/mmc.c +2 -2
@@ -567,7 +567,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 ,
@@ -577,7 +577,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 ,
Signature · 1 line
1.7.3.1