]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iio/pressure/st_pressure_core.c
iio: st_sensors: add debugfs register read hook
[karo-tx-linux.git] / drivers / iio / pressure / st_pressure_core.c
index eb41d2b92c24048ce2c65918bc7d42e03640f19d..b39a2fb0671cd15638c0db19c2f068a52a02f8b6 100644 (file)
@@ -400,6 +400,7 @@ static const struct iio_info press_info = {
        .attrs = &st_press_attribute_group,
        .read_raw = &st_press_read_raw,
        .write_raw = &st_press_write_raw,
+       .debugfs_reg_access = &st_sensors_debugfs_reg_access,
 };
 
 #ifdef CONFIG_IIO_TRIGGER