]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/iio/common/st_sensors.h
iio: st_sensors: add debugfs register read hook
[karo-tx-linux.git] / include / linux / iio / common / st_sensors.h
index 3c17cd7fdf06f08b9c8a85c502f592e4124e6053..2fe939c73cd241c6a24eabea83abf8761fb1de0a 100644 (file)
@@ -271,6 +271,10 @@ void st_sensors_power_enable(struct iio_dev *indio_dev);
 
 void st_sensors_power_disable(struct iio_dev *indio_dev);
 
+int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev,
+                                 unsigned reg, unsigned writeval,
+                                 unsigned *readval);
+
 int st_sensors_set_odr(struct iio_dev *indio_dev, unsigned int odr);
 
 int st_sensors_set_dataready_irq(struct iio_dev *indio_dev, bool enable);