From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:02:39 +0000 (-0700) Subject: Staging: comedi: addi_common.h: properly mark this variable as __iomem X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6dd22814640bf04d2007489d8c1d1e0d24a09128;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: comedi: addi_common.h: properly mark this variable as __iomem It's not an unsigned long, it's a __iomem pointer, so mark it as such. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/addi_common.h b/drivers/staging/comedi/drivers/addi-data/addi_common.h index caeb6fd2d9b1..1a2816920fff 100644 --- a/drivers/staging/comedi/drivers/addi-data/addi_common.h +++ b/drivers/staging/comedi/drivers/addi-data/addi_common.h @@ -351,7 +351,7 @@ struct addi_private { int i_IobaseAmcc; /* base+size for AMCC chip */ int i_IobaseAddon; /* addon base address */ int i_IobaseReserved; - unsigned long dw_AiBase; + void __iomem *dw_AiBase; struct pcilst_struct *amcc; /* ptr too AMCC data */ unsigned char allocated; /* we have blocked card */ unsigned char b_ValidDriver; /* driver is ok */