Skip to content

Commit 085cc3a

Browse files
Colin Ian Kingstorulf
authored andcommitted
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 <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 3a8e9ca commit 085cc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/dw_mmc-k3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct hs_timing {
7575
u32 smpl_phase_min;
7676
};
7777

78-
struct hs_timing hs_timing_cfg[TIMING_MODE][TIMING_CFG_NUM] = {
78+
static struct hs_timing hs_timing_cfg[TIMING_MODE][TIMING_CFG_NUM] = {
7979
{ /* reserved */ },
8080
{ /* SD */
8181
{7, 0, 15, 15,}, /* 0: LEGACY 400k */

0 commit comments

Comments
 (0)