fix build errors after rebase samsung/exynos9609 branch
authorliuqiang <liuqiang6@huaqin.com>
Mon, 20 Aug 2018 08:12:35 +0000 (16:12 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:29:39 +0000 (17:29 +0800)
Change-Id: I4d3ec44b1e65826b549011bcbe02e13468623889
Signed-off-by: liuqiang <liuqiang6@huaqin.com>
drivers/video/fbdev/exynos/dpu20/dsim.h
drivers/video/fbdev/exynos/dpu20/dsim_drv.c

index 3933e23e3b7acacbe05cf7771a0f4c1a3121a627..22632e960c92079b6525a7500ada9d073fdb98af 100644 (file)
@@ -256,6 +256,7 @@ struct dsim_lcd_driver {
        int (*doze_suspend)(struct dsim_device *dsim);
 #if defined(CONFIG_EXYNOS_READ_ESD_SOLUTION)
        int (*read_state)(struct dsim_device *dsim);
+#endif
 #if defined(CONFIG_EXYNOS_PANEL_CABC)
        int (*cabc)(struct dsim_device *dsim, int mode);
 #endif
index 91e7fddc12181256e352d577fa36a0a2ae58c5c3..43a0e7f5ed22195600a8a9efc37173f1175e49ce 100644 (file)
@@ -1983,6 +1983,7 @@ static int dsim_probe(struct platform_device *pdev)
 
 #if defined(CONFIG_EXYNOS_READ_ESD_SOLUTION)
        dsim->esd_recovering = false;
+#endif
 #if defined(READ_ESD_SOLUTION_TEST)
        dsim_create_esd_test_sysfs(dsim);
 #endif