staging: slicoss: fix different address space warnings
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 18 Nov 2016 17:57:18 +0000 (18:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 10:10:55 +0000 (11:10 +0100)
Remove incorrect __iomem annotation.

This patch fix the following sparse warnings in slicoss driver:
warning: incorrect type in assignment (different address spaces)

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h

index 684878f74e6c837fd2f09482aa664dddb205c957..f04d3046be407b399d7ee85d10be4f59d1354bba 100644 (file)
@@ -380,7 +380,7 @@ struct slic_shmemory {
        dma_addr_t isr_phaddr;
        dma_addr_t lnkstatus_phaddr;
        dma_addr_t stats_phaddr;
-       struct slic_shmem_data __iomem *shmem_data;
+       struct slic_shmem_data *shmem_data;
 };
 
 struct slic_upr {