From: Vlad Dogaru Date: Mon, 29 Dec 2014 09:50:16 +0000 (+0200) Subject: staging: iio: dummy: fix compile error when not using buffering X-Git-Tag: fixes-v4.0-rc1~99^2~245^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75d44ce08f3e5575c3060b04fa2abf99ba190284;p=pandora-kernel.git staging: iio: dummy: fix compile error when not using buffering 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed