Commit d73805ce authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ad196be7
...@@ -318,7 +318,7 @@ struct daqboard2000_private { ...@@ -318,7 +318,7 @@ struct daqboard2000_private {
card_daqboard_2000 card_daqboard_2000
} card; } card;
void *daq; void *daq;
void *plx; void __iomem *plx;
unsigned int ao_readback[2]; unsigned int ao_readback[2];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment