H Hartley Sweeten 2b7a521b12 staging: comedi: mite: mite_io_addr and daq_io_addr are void __iomem *
The mite_io_addr and daq_io_addr variables in struct mite_struct
are both ioremap'ed pci resources and should be void __iomem *
not void *.

This quiets a lot of sparse warings for the write[lwb],read[lwb]
calls in the comedi mite drives like:

warning: incorrect type in argument 1 (different address spaces)
   expected void const volatile [noderef] <asn:2>*addr
   got void *<noident>

warning: incorrect type in argument 2 (different address spaces)
   expected void volatile [noderef] <asn:2>*addr
   got void *

It also exposed some warnings in the mite ni_660x driver where
the daq_io_address was getting cast as a void *const.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-09 13:36:27 -07:00
..
2012-03-08 10:50:35 -08:00
2012-04-20 11:31:00 -07:00
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-04-27 10:46:45 +08:00
2012-04-12 15:36:33 -07:00
2012-05-02 11:48:07 -07:00
2012-03-17 01:41:43 -07:00
2012-03-30 00:09:17 -07:00
2012-04-27 07:50:34 -07:00
2012-04-18 13:15:51 -07:00