mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 23:21:49 -04:00
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ad196be73d
commit
d73805ceb1
@@ -318,7 +318,7 @@ struct daqboard2000_private {
|
||||
card_daqboard_2000
|
||||
} card;
|
||||
void *daq;
|
||||
void *plx;
|
||||
void __iomem *plx;
|
||||
unsigned int ao_readback[2];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user