From: Sergio Paracuellos Date: Fri, 18 Nov 2016 17:57:18 +0000 (+0100) Subject: staging: slicoss: fix different address space warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0699669b49d0c784ce1a79187733d5f64d4373c8;p=openwrt%2Fstaging%2Fblogic.git staging: slicoss: fix different address space warnings 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h index 684878f74e6c..f04d3046be40 100644 --- a/drivers/staging/slicoss/slic.h +++ b/drivers/staging/slicoss/slic.h @@ -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 {