From: H Hartley Sweeten Date: Tue, 22 May 2012 00:52:07 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: plx9080_iobase and hpdi_iobase are void __iomem * X-Git-Tag: v3.6-rc1~100^2~1055 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff450314d5ef05843d3b3bd33fc65f7aaea3b2df;p=pandora-kernel.git staging: comedi: gsc_hpdi: plx9080_iobase and hpdi_iobase are void __iomem * The plx9080_iobase and hpdi_iobase variables in struct hpdi_private are ioremap'ed pci resource and should be void __iomem * not void *. This quiets a lot of sparse warings for the writel and readl calls like: warning: incorrect type in argument 1 (different address spaces)    expected void const volatile [noderef] *addr    got void * warning: incorrect type in argument 2 (different address spaces)    expected void volatile [noderef] *addr    got void * Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Mori Hess Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed