]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iio/accel/st_accel_core.c
iio: st_sensors: add debugfs register read hook
[karo-tx-linux.git] / drivers / iio / accel / st_accel_core.c
index ff30f880688019fa099d79d7fce3f53b28cfb828..dab8b76c14270564efa0eae3665bfa9d716765dc 100644 (file)
@@ -618,6 +618,7 @@ static const struct iio_info accel_info = {
        .attrs = &st_accel_attribute_group,
        .read_raw = &st_accel_read_raw,
        .write_raw = &st_accel_write_raw,
+       .debugfs_reg_access = &st_sensors_debugfs_reg_access,
 };
 
 #ifdef CONFIG_IIO_TRIGGER