summaryrefslogtreecommitdiff
path: root/sound/soc/rockchip/rk3288_hdmi_analog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/rockchip/rk3288_hdmi_analog.c')
-rw-r--r--sound/soc/rockchip/rk3288_hdmi_analog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c b/sound/soc/rockchip/rk3288_hdmi_analog.c
index dbc53e48c52c..fa44e3901336 100644
--- a/sound/soc/rockchip/rk3288_hdmi_analog.c
+++ b/sound/soc/rockchip/rk3288_hdmi_analog.c
@@ -147,7 +147,7 @@ static int rk_init(struct snd_soc_pcm_runtime *runtime)
return 0;
}
-static struct snd_soc_ops rk_ops = {
+static const struct snd_soc_ops rk_ops = {
.hw_params = rk_hw_params,
};
@@ -272,8 +272,6 @@ static int snd_rk_mc_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, card);
-
return ret;
}