diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-21 21:08:40 -0700 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2016-05-25 13:25:17 +0900 |
commit | aaca5b1902e1d711d34f2fb741417ec7bae59ad6 (patch) | |
tree | e40485881871857b018c8a0a9eef25411fb0ae31 /drivers/video/exynos/exynos_mipi_dsi_common.c | |
parent | b6feb2675b75c687b9ddb9e5a493cfe4035e387d (diff) | |
download | u-boot-imx-aaca5b1902e1d711d34f2fb741417ec7bae59ad6.zip u-boot-imx-aaca5b1902e1d711d34f2fb741417ec7bae59ad6.tar.gz u-boot-imx-aaca5b1902e1d711d34f2fb741417ec7bae59ad6.tar.bz2 |
exynos: video: Remove use of vidinfo_t typedef
Use 'struct vidinfo' instead so that we can change this to a struct with a
different name in future.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video/exynos/exynos_mipi_dsi_common.c')
-rw-r--r-- | drivers/video/exynos/exynos_mipi_dsi_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 925d515..85c5e0d 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -465,7 +465,7 @@ int exynos_mipi_dsi_enable_frame_done_int(struct mipi_dsim_device *dsim, } static void convert_to_fb_videomode(struct fb_videomode *mode1, - vidinfo_t *mode2) + struct vidinfo *mode2) { mode1->xres = mode2->vl_width; mode1->yres = mode2->vl_height; @@ -482,10 +482,10 @@ int exynos_mipi_dsi_set_display_mode(struct mipi_dsim_device *dsim, { struct exynos_platform_mipi_dsim *dsim_pd; struct fb_videomode lcd_video; - vidinfo_t *vid; + struct vidinfo *vid; dsim_pd = (struct exynos_platform_mipi_dsim *)dsim->pd; - vid = (vidinfo_t *)dsim_pd->lcd_panel_info; + vid = (struct vidinfo *)dsim_pd->lcd_panel_info; convert_to_fb_videomode(&lcd_video, vid); |