summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/ssp_gyro_sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/gyro/ssp_gyro_sensor.c')
-rw-r--r--drivers/iio/gyro/ssp_gyro_sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/gyro/ssp_gyro_sensor.c b/drivers/iio/gyro/ssp_gyro_sensor.c
index 0a8afdd21728..1f25f406c545 100644
--- a/drivers/iio/gyro/ssp_gyro_sensor.c
+++ b/drivers/iio/gyro/ssp_gyro_sensor.c
@@ -74,7 +74,7 @@ static int ssp_gyro_write_raw(struct iio_dev *indio_dev,
return -EINVAL;
}
-static struct iio_info ssp_gyro_iio_info = {
+static const struct iio_info ssp_gyro_iio_info = {
.read_raw = &ssp_gyro_read_raw,
.write_raw = &ssp_gyro_write_raw,
};