From: Lars-Peter Clausen Date: Sat, 12 Oct 2013 13:55:00 +0000 (+0100) Subject: staging:iio:spear_adc: Fix sparse warning X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~196^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ecf5002f4e5be54b05f98d581ffd5f8a4082546;p=pandora-kernel.git staging:iio:spear_adc: Fix sparse warning The driver is casting from one __iomem pointer to another. Make sure to include __iomem in the cast, otherwise sparse will complain with the following warning: drivers/staging/iio/adc/spear_adc.c:321:18: warning: cast removes address space of expression drivers/staging/iio/adc/spear_adc.c:320:33: warning: incorrect type in assignment (different address spaces) drivers/staging/iio/adc/spear_adc.c:320:33: expected struct adc_regs_spear3xx [noderef] *adc_base_spear3xx drivers/staging/iio/adc/spear_adc.c:320:33: got struct adc_regs_spear3xx * Signed-off-by: Lars-Peter Clausen Cc: Stefan Roese Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed