aboutsummaryrefslogtreecommitdiffstats
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
parentof: select OF_RESERVED_MEM automatically (diff)
downloadlinux-dev-be4311a262bcf29da60c1ef6b5a457fe5d9cccef.tar.xz
linux-dev-be4311a262bcf29da60c1ef6b5a457fe5d9cccef.zip
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 '')
-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;