Commit 99043ba7 authored by Jonathan Cameron's avatar Jonathan Cameron

iio: temperature: mlx90632: Add missing static marking on devm_pm_ops

Only used within this file, so should be marked static.

Fixes: 2aebc223 ("iio: temperature: mlx90632 Add runtime powermanagement modes")
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-off-by: default avatarCrt Mori <cmo@melexis.com>
Link: https://lore.kernel.org/r/20221105125108.383193-3-jic23@kernel.org
parent bcf22afd
......@@ -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)
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment