diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-27 16:35:40 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-29 12:28:16 -0500 |
commit | 9b8f5695a155308a4e0355a29747961bec9757c0 (patch) | |
tree | c02f918d7974d61dc64bd02d47c023a388195a1e /sound/soc/samsung/i2s.c | |
parent | 4cdf5e49ce8ff79038ee5388cc5f97097238bb29 (diff) |
ASoC: Fix __iomem annotation for IDMA registers
We always store the register address as __iomem but pass it around as a
plain void * which upsets sparse.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/i2s.c')
-rw-r--r-- | sound/soc/samsung/i2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index fb80f2886c70..5de500ce5dd4 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -881,7 +881,7 @@ static int samsung_i2s_dai_probe(struct snd_soc_dai *dai) | |||
881 | writel(CON_RSTCLR, i2s->addr + I2SCON); | 881 | writel(CON_RSTCLR, i2s->addr + I2SCON); |
882 | 882 | ||
883 | if (i2s->quirks & QUIRK_SEC_DAI) | 883 | if (i2s->quirks & QUIRK_SEC_DAI) |
884 | idma_reg_addr_init((void *)i2s->addr, | 884 | idma_reg_addr_init(i2s->addr, |
885 | i2s->sec_dai->idma_playback.dma_addr); | 885 | i2s->sec_dai->idma_playback.dma_addr); |
886 | 886 | ||
887 | probe_exit: | 887 | probe_exit: |