From 4d5f8d3db5efd65e36500304cfc029c2e5854a85 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Mon, 5 Dec 2011 21:37:12 +0000 Subject: [PATCH] staging:iio: add hook to allow core to perform scan related config. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/iio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }; /** -- 2.30.2