Skip to content

Commit

Permalink
ASoC: AMD: Add const to snd_soc_ops instances
Browse files Browse the repository at this point in the history
Marking snd_soc_ops instances const

Signed-off-by: Akshu Agrawal <[email protected]>
Signed-off-by: Vijendar Mukunda <[email protected]>
Reviewed-by: Daniel Kurtz <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Akshu Agrawal authored and broonie committed May 21, 2018
1 parent 6e55407 commit 839a12c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/amd/acp-da7219-max98357a.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,17 @@ static void cz_dmic_shutdown(struct snd_pcm_substream *substream)
da7219_clk_disable();
}

static struct snd_soc_ops cz_da7219_cap_ops = {
static const struct snd_soc_ops cz_da7219_cap_ops = {
.startup = cz_da7219_startup,
.shutdown = cz_da7219_shutdown,
};

static struct snd_soc_ops cz_max_play_ops = {
static const struct snd_soc_ops cz_max_play_ops = {
.startup = cz_max_startup,
.shutdown = cz_max_shutdown,
};

static struct snd_soc_ops cz_dmic_cap_ops = {
static const struct snd_soc_ops cz_dmic_cap_ops = {
.startup = cz_dmic_startup,
.shutdown = cz_dmic_shutdown,
};
Expand Down

0 comments on commit 839a12c

Please sign in to comment.