iio: adc: mxs-lradc: fix warning when buidling on avr32
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 17 Mar 2014 16:43:00 +0000 (16:43 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Mar 2014 12:25:02 +0000 (12:25 +0000)
commite036f71e8ce310dc58b1351c3eb967b892f4641c
tree14c3d55275fbb5c1d8c91d5d1d1f2ff77c35507a
parentd0a588a57c2b0748df8307a0865a1bbbf1624c53
iio: adc: mxs-lradc: fix warning when buidling on avr32

This fixes:
drivers/staging/iio/adc/mxs-lradc.c: In function 'mxs_lradc_probe':
drivers/staging/iio/adc/mxs-lradc.c:1558: warning: comparison of distinct pointer types lacks a cast
drivers/staging/iio/adc/mxs-lradc.c:1558: warning: right shift count >= width of type
drivers/staging/iio/adc/mxs-lradc.c:1558: warning: passing argument 1 of '__div64_32' from incompatible pointer type

When building on avr32.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c