summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/mpl115_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/mpl115_spi.c')
-rw-r--r--drivers/iio/pressure/mpl115_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/mpl115_spi.c b/drivers/iio/pressure/mpl115_spi.c
index 7feec87e2704..58d218fd90dc 100644
--- a/drivers/iio/pressure/mpl115_spi.c
+++ b/drivers/iio/pressure/mpl115_spi.c
@@ -92,6 +92,7 @@ MODULE_DEVICE_TABLE(spi, mpl115_spi_ids);
static struct spi_driver mpl115_spi_driver = {
.driver = {
.name = "mpl115",
+ .pm = pm_ptr(&mpl115_dev_pm_ops),
},
.probe = mpl115_spi_probe,
.id_table = mpl115_spi_ids,