From: H Hartley Sweeten Date: Thu, 20 Sep 2012 00:06:47 +0000 (-0700) Subject: staging: comedi: 8253: mmio address is a void __iomem * X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5743aaac2938eb841e14879b0f73afb7fca6f0ad;p=pandora-kernel.git staging: comedi: 8253: mmio address is a void __iomem * The inline functions for accessing a memory mapped 8254 device are using a void * for the 'base_address' of the device. Memory mapped io using the read/write functions should be using a void __iomem * for the address. Fixing these exposed a couple other void * / void __iomem * issues in the ni_labpc driver. This fixes a number of sparse warnings like: warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] *addr got void * warning: incorrect type in argument 1 (different address spaces) expected void const volatile [noderef] *addr got void * Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed