summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/iio/orientation
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/iio/orientation')
-rw-r--r--kernel/drivers/iio/orientation/hid-sensor-rotation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/iio/orientation/hid-sensor-rotation.c b/kernel/drivers/iio/orientation/hid-sensor-rotation.c
index b98b9d94d..a97e802ca 100644
--- a/kernel/drivers/iio/orientation/hid-sensor-rotation.c
+++ b/kernel/drivers/iio/orientation/hid-sensor-rotation.c
@@ -335,6 +335,7 @@ static struct platform_driver hid_dev_rot_platform_driver = {
.id_table = hid_dev_rot_ids,
.driver = {
.name = KBUILD_MODNAME,
+ .pm = &hid_sensor_pm_ops,
},
.probe = hid_dev_rot_probe,
.remove = hid_dev_rot_remove,