summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/kxsd9-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/kxsd9-spi.c')
-rw-r--r--drivers/iio/accel/kxsd9-spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/kxsd9-spi.c b/drivers/iio/accel/kxsd9-spi.c
index c5af51b7dd7e..b7d0078fd00e 100644
--- a/drivers/iio/accel/kxsd9-spi.c
+++ b/drivers/iio/accel/kxsd9-spi.c
@@ -43,6 +43,7 @@ MODULE_DEVICE_TABLE(spi, kxsd9_spi_id);
static struct spi_driver kxsd9_spi_driver = {
.driver = {
.name = "kxsd9",
+ .pm = &kxsd9_dev_pm_ops,
},
.probe = kxsd9_spi_probe,
.remove = kxsd9_spi_remove,
OpenPOWER on IntegriCloud