summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/bmi323/bmi323_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/bmi323/bmi323_spi.c')
-rw-r--r--drivers/iio/imu/bmi323/bmi323_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/imu/bmi323/bmi323_spi.c b/drivers/iio/imu/bmi323/bmi323_spi.c
index 571e1cd7ce72..9de3ade78d71 100644
--- a/drivers/iio/imu/bmi323/bmi323_spi.c
+++ b/drivers/iio/imu/bmi323/bmi323_spi.c
@@ -79,6 +79,7 @@ MODULE_DEVICE_TABLE(of, bmi323_of_spi_match);
static struct spi_driver bmi323_spi_driver = {
.driver = {
.name = "bmi323",
+ .pm = pm_ptr(&bmi323_core_pm_ops),
.of_match_table = bmi323_of_spi_match,
},
.probe = bmi323_spi_probe,