mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
media: i2c/imx415: Minor fix for compatibility with old kernels.
This commit is contained in:
@@ -1272,8 +1272,9 @@ static int imx415_runtime_suspend(struct device *dev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static DEFINE_RUNTIME_DEV_PM_OPS(imx415_pm_ops, imx415_runtime_suspend,
|
static const struct dev_pm_ops imx415_pm_ops = {
|
||||||
imx415_runtime_resume, NULL);
|
SET_SYSTEM_SLEEP_PM_OPS(imx415_runtime_suspend, imx415_runtime_resume)
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id imx415_of_match[] = {
|
static const struct of_device_id imx415_of_match[] = {
|
||||||
{ .compatible = "sony,imx415" },
|
{ .compatible = "sony,imx415" },
|
||||||
|
Reference in New Issue
Block a user