dma-mapping: remove an incorrect __iommem annotation
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Feb 2019 21:25:09 +0000 (22:25 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 13 Feb 2019 18:19:50 +0000 (19:19 +0100)
memmap return a regular void pointer, not and __iomem one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/coherent.c

index 66f0fb7..4b76aba 100644 (file)
@@ -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;