From: Jonathan Cameron Date: Mon, 5 Dec 2011 21:37:12 +0000 (+0000) Subject: staging:iio: add hook to allow core to perform scan related config. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d5f8d3db5efd65e36500304cfc029c2e5854a85;p=openwrt%2Fstaging%2Fblogic.git staging:iio: add hook to allow core to perform scan related config. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h index 95d6318a14b4..4fb8f2f21a07 100644 --- a/drivers/staging/iio/iio.h +++ b/drivers/staging/iio/iio.h @@ -262,7 +262,8 @@ struct iio_info { int val); int (*validate_trigger)(struct iio_dev *indio_dev, struct iio_trigger *trig); - + int (*update_scan_mode)(struct iio_dev *indio_dev, + const unsigned long *scan_mask); }; /**