summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/idma.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-27 21:35:40 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-29 17:28:16 +0000
commit9b8f5695a155308a4e0355a29747961bec9757c0 (patch)
treec02f918d7974d61dc64bd02d47c023a388195a1e /sound/soc/samsung/idma.h
parent4cdf5e49ce8ff79038ee5388cc5f97097238bb29 (diff)
downloadblackbird-obmc-linux-9b8f5695a155308a4e0355a29747961bec9757c0.tar.gz
blackbird-obmc-linux-9b8f5695a155308a4e0355a29747961bec9757c0.zip
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/idma.h')
-rw-r--r--sound/soc/samsung/idma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/idma.h b/sound/soc/samsung/idma.h
index 48273216166e..8644946973e5 100644
--- a/sound/soc/samsung/idma.h
+++ b/sound/soc/samsung/idma.h
@@ -14,7 +14,7 @@
#ifndef __SND_SOC_SAMSUNG_IDMA_H_
#define __SND_SOC_SAMSUNG_IDMA_H_
-extern void idma_reg_addr_init(void *regs, dma_addr_t addr);
+extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
/* dma_state */
#define LPAM_DMA_STOP 0
OpenPOWER on IntegriCloud