staging:iio: add hook to allow core to perform scan related config.
authorJonathan Cameron <jic23@kernel.org>
Mon, 5 Dec 2011 21:37:12 +0000 (21:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:36:11 +0000 (11:36 -0800)
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h

index 95d6318a14b49e40f102c89be0c5dbc768abf275..4fb8f2f21a070db667cbc60f6255b9c427bbfc75 100644 (file)
@@ -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);
 };
 
 /**