From: Michael Hennerich Date: Mon, 11 Jun 2012 07:51:04 +0000 (+0200) Subject: iio: ad9523: Fix argument type mismatch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=011c10c351f3f081b496e2197db2948d120cc26c;p=openwrt%2Fstaging%2Fblogic.git iio: ad9523: Fix argument type mismatch drivers/iio/frequency/ad9523.c:378 ad9523_vco_out_map() warn: value 2 can't fit into 1 'out' Signed-off-by: Michael Hennerich Reported-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c index 832e6ab26114..b737c64a402d 100644 --- a/drivers/iio/frequency/ad9523.c +++ b/drivers/iio/frequency/ad9523.c @@ -361,7 +361,7 @@ static int ad9523_io_update(struct iio_dev *indio_dev) } static int ad9523_vco_out_map(struct iio_dev *indio_dev, - unsigned ch, bool out) + unsigned ch, unsigned out) { struct ad9523_state *st = iio_priv(indio_dev); int ret;