From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:57:28 +0000 (-0700) Subject: staging: comedi: daqboard2000: void *plx should be a void __iomem * X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d73805ceb1cf7fd86863de25a8038e5c1651172e;p=linux-beck.git staging: comedi: daqboard2000: void *plx should be a void __iomem * The private data variable 'plx' is an ioremap'ed pci resource and should be a void __iomem *. This quiets a number of sparse warnings about "different address spaces". Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c index ba61e328fd29..ef28385c1482 100644 --- a/drivers/staging/comedi/drivers/daqboard2000.c +++ b/drivers/staging/comedi/drivers/daqboard2000.c @@ -318,7 +318,7 @@ struct daqboard2000_private { card_daqboard_2000 } card; void *daq; - void *plx; + void __iomem *plx; unsigned int ao_readback[2]; };