Update backport patch for 5.18

This commit is contained in:
CrazyCat
2023-04-30 22:21:47 +03:00
parent 5fe43495f8
commit 8855e24e31

View File

@@ -0,0 +1,13 @@
diff --git a/drivers/media/i2c/imx290.c b/drivers/media/i2c/imx290.c
index 5ea25b7acc55..5955ade733fd 100644
--- a/drivers/media/i2c/imx290.c
+++ b/drivers/media/i2c/imx290.c
@@ -1410,7 +1410,7 @@ static int imx290_runtime_suspend(struct device *dev)
}
static const struct dev_pm_ops imx290_pm_ops = {
- RUNTIME_PM_OPS(imx290_runtime_suspend, imx290_runtime_resume, NULL)
+ SET_RUNTIME_PM_OPS(imx290_runtime_suspend, imx290_runtime_resume, NULL)
};
/* ----------------------------------------------------------------------------