mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-04 09:13:44 +09:00
EXYNOS: Add dummy definition to fix compilation dependency on CONFIG_EXYNOS_MIPI_DSIM
When only DP is used, we need not enable CONFIG_EXYNOS_MIPI_DSIM. But if we do not select CONFIG_EXYNOS_MIPI_DSIM, exynos_fb.c throws error saying exynos_mipi_dsi_init() not defined. So, we add dummy definition for exynos_mipi_dsi_init when CONFIG_EXYNOS_MIPI_DSIM is not defined. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Donghwa Lee <dh09.lee@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
1673f199d9
commit
7b4bd121b6
@ -358,7 +358,14 @@ struct mipi_dsim_lcd_driver {
|
|||||||
void (*mipi_display_on)(struct mipi_dsim_device *dsim_dev);
|
void (*mipi_display_on)(struct mipi_dsim_device *dsim_dev);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_EXYNOS_MIPI_DSIM
|
||||||
int exynos_mipi_dsi_init(void);
|
int exynos_mipi_dsi_init(void);
|
||||||
|
#else
|
||||||
|
static inline int exynos_mipi_dsi_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* register mipi_dsim_lcd_driver object defined by lcd panel driver
|
* register mipi_dsim_lcd_driver object defined by lcd panel driver
|
||||||
|
Loading…
Reference in New Issue
Block a user