Message ID | 20230918080951.3615-6-raag.jadav@intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | Fix symbol export for _SIMPLE_ variants of _PM_OPS() | expand |
diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c index a5e81906e37e..d0c7e4702981 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c @@ -790,7 +790,7 @@ static int inv_icm42600_runtime_resume(struct device *dev) return ret; } -EXPORT_NS_GPL_DEV_PM_OPS(inv_icm42600_pm_ops, IIO_ICM42600) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(inv_icm42600_pm_ops, IIO_ICM42600) = { SYSTEM_SLEEP_PM_OPS(inv_icm42600_suspend, inv_icm42600_resume) RUNTIME_PM_OPS(inv_icm42600_runtime_suspend, inv_icm42600_runtime_resume, NULL)
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav <raag.jadav@intel.com> --- drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)