staging: comedi: daqboard2000: void *plx should be a void __iomem *
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 01:57:28 +0000 (18:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:32:57 +0000 (16:32 -0700)
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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/daqboard2000.c

index ba61e328fd298b87c987626df6ba68863d9a1d04..ef28385c14825808a88181ec2e3ad8cee7cbca10 100644 (file)
@@ -318,7 +318,7 @@ struct daqboard2000_private {
                card_daqboard_2000
        } card;
        void *daq;
-       void *plx;
+       void __iomem *plx;
        unsigned int ao_readback[2];
 };