diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-03-09 06:56:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 14:42:24 -0400 |
commit | 68a6bb546575a2ba62baddbde710fac42ff04f19 (patch) | |
tree | 265ce1e144b76c7ff14999b3e26b4be3869f996c /drivers/media/video | |
parent | c9e7252c62f5ccddcb4ced0910887b0e19663011 (diff) |
[media] s5p-csis: Fix compilation with PM_SLEEP disabled
Fix following compilation error when CONFIG_PM_SLEEP is disabled:
CC drivers/media/video/s5p-fimc/mipi-csis.o
drivers/media/video/s5p-fimc/mipi-csis.c: In function ‘s5pcsis_remove’:
drivers/media/video/s5p-fimc/mipi-csis.c:956: error: implicit declaration of function ‘s5pcsis_suspend’
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/s5p-fimc/mipi-csis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-fimc/mipi-csis.c b/drivers/media/video/s5p-fimc/mipi-csis.c index a903138b18da..f44f690397f7 100644 --- a/drivers/media/video/s5p-fimc/mipi-csis.c +++ b/drivers/media/video/s5p-fimc/mipi-csis.c | |||
@@ -684,7 +684,7 @@ static int __devexit s5pcsis_remove(struct platform_device *pdev) | |||
684 | struct csis_state *state = sd_to_csis_state(sd); | 684 | struct csis_state *state = sd_to_csis_state(sd); |
685 | 685 | ||
686 | pm_runtime_disable(&pdev->dev); | 686 | pm_runtime_disable(&pdev->dev); |
687 | s5pcsis_suspend(&pdev->dev); | 687 | s5pcsis_pm_suspend(&pdev->dev, false); |
688 | clk_disable(state->clock[CSIS_CLK_MUX]); | 688 | clk_disable(state->clock[CSIS_CLK_MUX]); |
689 | pm_runtime_set_suspended(&pdev->dev); | 689 | pm_runtime_set_suspended(&pdev->dev); |
690 | s5pcsis_clk_put(state); | 690 | s5pcsis_clk_put(state); |