ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures
[sfrench/cifs-2.6.git] / sound / soc / codecs / zx_aud96p22.c
index 032fb7cf6cbdfce68f00577c41243561b9534742..0e5b43b948b48daf89b54ab9fe5770944f6f1e9f 100644 (file)
@@ -312,7 +312,7 @@ static int aud96p22_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
        return 0;
 }
 
-static struct snd_soc_dai_ops aud96p22_dai_ops = {
+static const struct snd_soc_dai_ops aud96p22_dai_ops = {
        .set_fmt = aud96p22_set_fmt,
 };
 
@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
        return 0;
 }
 
-const struct of_device_id aud96p22_dt_ids[] = {
+static const struct of_device_id aud96p22_dt_ids[] = {
        { .compatible = "zte,zx-aud96p22", },
        { }
 };