mirror of https://gitee.com/openkylin/linux.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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue