|
|
@@ -1588,6 +1588,7 @@ static int fimc_lite_probe(struct platform_device *pdev)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_PM_RUNTIME
|
|
|
static int fimc_lite_runtime_resume(struct device *dev)
|
|
|
{
|
|
|
struct fimc_lite *fimc = dev_get_drvdata(dev);
|
|
|
@@ -1603,6 +1604,7 @@ static int fimc_lite_runtime_suspend(struct device *dev)
|
|
|
clk_disable(fimc->clock);
|
|
|
return 0;
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
|
static int fimc_lite_resume(struct device *dev)
|