summaryrefslogtreecommitdiff
path: root/sound/pci/nm256
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-09-05 10:35:20 +0200
committerJaroslav Kysela <perex@suse.cz>2005-09-12 10:41:16 +0200
commit4d23359b7ec8b03da2154df935af7d625075f6cf (patch)
treeba0ddfae17312fb449fb4c1f1a294c4f7db0f998 /sound/pci/nm256
parent49045d3d4dc7c43310b1fca693e29fcdbe68faba (diff)
downloadlinux-exynos-4d23359b7ec8b03da2154df935af7d625075f6cf.tar.gz
linux-exynos-4d23359b7ec8b03da2154df935af7d625075f6cf.tar.bz2
linux-exynos-4d23359b7ec8b03da2154df935af7d625075f6cf.zip
[ALSA] sparse address space annotations
ALSA Core,RawMidi Midlevel,ALSA<-OSS emulation,ALSA sequencer RME32 driver,RME96 driver,EMU10K1/EMU10K2 driver,NM256 driver Add sparse annotations where we do strange this with __iomem/__user pointers. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/nm256')
-rw-r--r--sound/pci/nm256/nm256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c
index 2bbeb10ff7c4..24f146b6ebab 100644
--- a/sound/pci/nm256/nm256.c
+++ b/sound/pci/nm256/nm256.c
@@ -840,7 +840,7 @@ static void snd_nm256_setup_stream(nm256_t *chip, nm256_stream_t *s,
runtime->hw = *hw_ptr;
runtime->hw.buffer_bytes_max = s->bufsize;
runtime->hw.period_bytes_max = s->bufsize / 2;
- runtime->dma_area = (void*) s->bufptr;
+ runtime->dma_area = (void __force *) s->bufptr;
runtime->dma_addr = s->bufptr_addr;
runtime->dma_bytes = s->bufsize;
runtime->private_data = s;