staging: iio: dummy: fix compile error when not using buffering
authorVlad Dogaru <vlad.dogaru@intel.com>
Mon, 29 Dec 2014 09:50:16 +0000 (11:50 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 1 Jan 2015 12:20:52 +0000 (12:20 +0000)
Commit 4ae03019923f ("staging:iio:dummy: Register same channels for
device and buffer") has changed the number of parameters for
iio_simple_dummy_configure_buffer() only for the IIO_SIMPLE_DUMMY_BUFFER
case.  Fix this by also changing the placeholder function declared in
the header when buffering is not enabled.

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found