diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-21 17:55:33 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-04 20:24:44 -0700 |
| commit | 86a5eb8ccef09916e622b43f97f115c2526d7d2e (patch) | |
| tree | dcf3068216d4908f35324e08a1403fb096c36a40 /include/linux/task_work.h | |
| parent | ff450314d5ef05843d3b3bd33fc65f7aaea3b2df (diff) | |
staging: comedi: icp_multi: io_addr is a void __iomem *
The io_addr variable in struct dt3k_private is an ioremap'ed pci
resource and should be void __iomem * not a void *.
This quiets a lot of sparse warings for the writew and readw calls
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 *
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>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
