ASoC: Cleanup duplicated const
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 23 Nov 2011 13:11:21 +0000 (14:11 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 13:11:50 +0000 (13:11 +0000)
Commit 85e7652("ASoC: Constify snd_soc_dai_ops structs") accidentally
introduced a few duplicated consts. This patch cleans it up.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/au1x/i2sc.c
sound/soc/codecs/adau1373.c
sound/soc/codecs/adau1701.c
sound/soc/codecs/adav80x.c
sound/soc/codecs/cs42l73.c

index 2d5f755ac99c0e8f564dd13abdf422f161e1677e..6bcf48f5884c169b0a5d61004bb91f7652647b35 100644 (file)
@@ -201,7 +201,7 @@ static int au1xi2s_startup(struct snd_pcm_substream *substream,
        return 0;
 }
 
-static const const struct snd_soc_dai_ops au1xi2s_dai_ops = {
+static const struct snd_soc_dai_ops au1xi2s_dai_ops = {
        .startup        = au1xi2s_startup,
        .trigger        = au1xi2s_trigger,
        .hw_params      = au1xi2s_hw_params,
index 2e040af9ad57a08b37973ba9cf5bb3d313f821ee..45c63028b40d1636b56f6aa3e5f13e0d110b9a5d 100644 (file)
@@ -1042,7 +1042,7 @@ static int adau1373_set_dai_sysclk(struct snd_soc_dai *dai,
        return 0;
 }
 
-static const const struct snd_soc_dai_ops adau1373_dai_ops = {
+static const struct snd_soc_dai_ops adau1373_dai_ops = {
        .hw_params      = adau1373_hw_params,
        .set_sysclk     = adau1373_set_dai_sysclk,
        .set_fmt        = adau1373_set_dai_fmt,
index c69bdfe745bb9e791bba8156026e355bf6a41146..8b7e1c50d6e9df43d2a25956a698094eb2bb6738 100644 (file)
@@ -427,7 +427,7 @@ static int adau1701_set_sysclk(struct snd_soc_codec *codec, int clk_id,
 #define ADAU1701_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
        SNDRV_PCM_FMTBIT_S24_LE)
 
-static const const struct snd_soc_dai_ops adau1701_dai_ops = {
+static const struct snd_soc_dai_ops adau1701_dai_ops = {
        .set_fmt        = adau1701_set_dai_fmt,
        .hw_params      = adau1701_hw_params,
        .digital_mute   = adau1701_digital_mute,
index d927febd02ccc052bd341da39130de5739801e54..f9f08948e5e878f12d40a1f337d6d40c7247119e 100644 (file)
@@ -718,7 +718,7 @@ static void adav80x_dai_shutdown(struct snd_pcm_substream *substream,
                adav80x->rate = 0;
 }
 
-static const const struct snd_soc_dai_ops adav80x_dai_ops = {
+static const struct snd_soc_dai_ops adav80x_dai_ops = {
        .set_fmt = adav80x_set_dai_fmt,
        .hw_params = adav80x_hw_params,
        .startup = adav80x_dai_startup,
index 75d80b2e1ec413fb7bae07f981e40e77725cffbf..d09578f397dae5121a849ec4dfa0402326ff2a04 100644 (file)
@@ -1190,7 +1190,7 @@ static int cs42l73_pcm_startup(struct snd_pcm_substream *substream,
 #define CS42L73_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
        SNDRV_PCM_FMTBIT_S24_LE)
 
-static const const struct snd_soc_dai_ops cs42l73_ops = {
+static const struct snd_soc_dai_ops cs42l73_ops = {
        .startup = cs42l73_pcm_startup,
        .hw_params = cs42l73_pcm_hw_params,
        .set_fmt = cs42l73_set_dai_fmt,