diff options
Diffstat (limited to 'drivers/media/platform/coda/coda-common.c')
-rw-r--r-- | drivers/media/platform/coda/coda-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index ced47609f5ef..5f0cd5cafea2 100644 --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c | |||
@@ -1980,7 +1980,7 @@ static int coda_probe(struct platform_device *pdev) | |||
1980 | 1980 | ||
1981 | /* | 1981 | /* |
1982 | * Start activated so we can directly call coda_hw_init in | 1982 | * Start activated so we can directly call coda_hw_init in |
1983 | * coda_fw_callback regardless of whether CONFIG_PM_RUNTIME is | 1983 | * coda_fw_callback regardless of whether CONFIG_PM is |
1984 | * enabled or whether the device is associated with a PM domain. | 1984 | * enabled or whether the device is associated with a PM domain. |
1985 | */ | 1985 | */ |
1986 | pm_runtime_get_noresume(&pdev->dev); | 1986 | pm_runtime_get_noresume(&pdev->dev); |
@@ -2013,7 +2013,7 @@ static int coda_remove(struct platform_device *pdev) | |||
2013 | return 0; | 2013 | return 0; |
2014 | } | 2014 | } |
2015 | 2015 | ||
2016 | #ifdef CONFIG_PM_RUNTIME | 2016 | #ifdef CONFIG_PM |
2017 | static int coda_runtime_resume(struct device *dev) | 2017 | static int coda_runtime_resume(struct device *dev) |
2018 | { | 2018 | { |
2019 | struct coda_dev *cdev = dev_get_drvdata(dev); | 2019 | struct coda_dev *cdev = dev_get_drvdata(dev); |