Skip to content

Commit

Permalink
iio: ad9523: Fix argument type mismatch
Browse files Browse the repository at this point in the history
drivers/iio/frequency/ad9523.c:378 ad9523_vco_out_map()
	 warn: value 2 can't fit into 1 'out'

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent cf35ad6 commit 011c10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/frequency/ad9523.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 011c10c

Please sign in to comment.