From: Colin Ian King Date: Tue, 3 Oct 2017 09:56:54 +0000 (+0100) Subject: mmc: dw_mmc-k3: make array hs_timing_cfg static X-Git-Tag: v4.19~2254^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=085cc3ab39d44ccb0ee051b0bc58f4dd0c0cbfaf;p=platform%2Fkernel%2Flinux-rpi.git mmc: dw_mmc-k3: make array hs_timing_cfg static The array hs_timing_cfg is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'hs_timing_cfg' was not declared. Should it be static? Signed-off-by: Colin Ian King Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index 64cda84..73fd75c 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++ b/drivers/mmc/host/dw_mmc-k3.c @@ -75,7 +75,7 @@ struct hs_timing { u32 smpl_phase_min; }; -struct hs_timing hs_timing_cfg[TIMING_MODE][TIMING_CFG_NUM] = { +static struct hs_timing hs_timing_cfg[TIMING_MODE][TIMING_CFG_NUM] = { { /* reserved */ }, { /* SD */ {7, 0, 15, 15,}, /* 0: LEGACY 400k */