diff options
author | Jonathan Cameron <[email protected]> | 2022-11-05 12:51:08 +0000 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-11-23 19:58:18 +0000 |
commit | 99043ba702243f69d1853bd8aeca01e22836ede3 (patch) | |
tree | adfe1fa01b4b5f6fb112433d3c816dadf61012cb | |
parent | bcf22afd2ce0b8bd4fad50bfda92e8cbbc483c72 (diff) |
iio: temperature: mlx90632: Add missing static marking on devm_pm_ops
Only used within this file, so should be marked static.
Fixes: 2aebc223fc7c ("iio: temperature: mlx90632 Add runtime powermanagement modes")
Signed-off-by: Jonathan Cameron <[email protected]>
Acked-off-by: Crt Mori <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | drivers/iio/temperature/mlx90632.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c index 7572ae3f8432..f1f5ebc145b1 100644 --- a/drivers/iio/temperature/mlx90632.c +++ b/drivers/iio/temperature/mlx90632.c @@ -1326,7 +1326,7 @@ static int mlx90632_pm_runtime_suspend(struct device *dev) return mlx90632_pwr_set_sleep_step(data->regmap); } -const struct dev_pm_ops mlx90632_pm_ops = { +static const struct dev_pm_ops mlx90632_pm_ops = { SYSTEM_SLEEP_PM_OPS(mlx90632_pm_suspend, mlx90632_pm_resume) RUNTIME_PM_OPS(mlx90632_pm_runtime_suspend, NULL, NULL) }; |