Staging: comedi: addi_common.h: properly mark this variable as __iomem
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 May 2010 23:02:39 +0000 (16:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:07 +0000 (11:36 -0700)
It's not an unsigned long, it's a __iomem pointer, so mark it as
such.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/addi_common.h

index caeb6fd..1a28169 100644 (file)
@@ -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 */