diff options
author | Guoniu.Zhou <guoniu.zhou@nxp.com> | 2017-11-14 16:24:56 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 29e08f6c649ecca9ac34704ed4a8ab8e483f210b (patch) | |
tree | eac2db03256223c4c01fe6223bded7e1f59b543d /drivers/media/platform/imx8 | |
parent | 9a6409d9268efe4ee66df48acdb08e5ab1586ef8 (diff) |
MLK-16695-4: mipi_csi: fix build error
Delete #ifdef CONFIG_PM_SLEEP statement which
lead to build error.
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit ea30b5c6631379cd054f949480e0c897e445c1b0)
Diffstat (limited to 'drivers/media/platform/imx8')
-rw-r--r-- | drivers/media/platform/imx8/mxc-isi-core.c | 1 | ||||
-rw-r--r-- | drivers/media/platform/imx8/mxc-mipi-csi2.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/imx8/mxc-isi-core.c b/drivers/media/platform/imx8/mxc-isi-core.c index 45174f330bc1..4385f0fcaffe 100644 --- a/drivers/media/platform/imx8/mxc-isi-core.c +++ b/drivers/media/platform/imx8/mxc-isi-core.c @@ -197,7 +197,6 @@ static int mxc_isi_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int mxc_isi_pm_suspend(struct device *dev) { struct mxc_isi_dev *mxc_isi = dev_get_drvdata(dev); diff --git a/drivers/media/platform/imx8/mxc-mipi-csi2.c b/drivers/media/platform/imx8/mxc-mipi-csi2.c index d463f1f3a5e7..2b245701760e 100644 --- a/drivers/media/platform/imx8/mxc-mipi-csi2.c +++ b/drivers/media/platform/imx8/mxc-mipi-csi2.c @@ -610,7 +610,6 @@ static int mipi_csi2_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int mipi_csi2_pm_suspend(struct device *dev) { struct mxc_mipi_csi2_dev *csi2dev = dev_get_drvdata(dev); |