[RFC PATCH] ASoC: rockchip_max98090: rk_card_configs[] can be static

From: kbuild test robot
Date: Mon Oct 28 2019 - 13:03:05 EST



Fixes: 0cc0922ae849 ("ASoC: rockchip_max98090: Optionally support HDMI use case")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
rockchip_max98090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/rockchip/rockchip_max98090.c b/sound/soc/rockchip/rockchip_max98090.c
index 550e577897198..a476749931387 100644
--- a/sound/soc/rockchip/rockchip_max98090.c
+++ b/sound/soc/rockchip/rockchip_max98090.c
@@ -472,7 +472,7 @@ static int snd_rk_mc_probe(struct platform_device *pdev)
return ret;
}

-struct rk_card_config rk_card_configs[] = {
+static struct rk_card_config rk_card_configs[] = {
[RK_USE_MAX98090] = {
.usage = RK_USE_MAX98090,
.card = &rockchip_max98090_card,