summaryrefslogtreecommitdiff
path: root/kernel/dma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-01 22:25:09 +0100
committerChristoph Hellwig <hch@lst.de>2019-02-13 19:19:50 +0100
commitbe4311a262bcf29da60c1ef6b5a457fe5d9cccef (patch)
tree08dd73228e86db30efda687a4c50df86ad54407d /kernel/dma
parent34e04eedd1cf1be714abb0e5976338cc72ccc05f (diff)
dma-mapping: remove an incorrect __iommem annotation
memmap return a regular void pointer, not and __iomem one. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma')
-rw-r--r--kernel/dma/coherent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 66f0fb7e9a3a..4b76aba574c2 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -43,7 +43,7 @@ static int dma_init_coherent_memory(
struct dma_coherent_mem **mem)
{
struct dma_coherent_mem *dma_mem = NULL;
- void __iomem *mem_base = NULL;
+ void *mem_base = NULL;
int pages = size >> PAGE_SHIFT;
int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long);
int ret;