diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2013-08-21 16:22:01 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-09-05 13:43:44 +0900 |
commit | 111e6055d4e0d35c6a4b6cd37d7bb00a88eaffb4 (patch) | |
tree | c192757baffc958af3e2e10ca9375ae689a4a7bb /include | |
parent | 5cc4621a17b1e63738658a93b9a5667c876a22e4 (diff) | |
download | linux-stable-111e6055d4e0d35c6a4b6cd37d7bb00a88eaffb4.tar.gz linux-stable-111e6055d4e0d35c6a4b6cd37d7bb00a88eaffb4.tar.bz2 linux-stable-111e6055d4e0d35c6a4b6cd37d7bb00a88eaffb4.zip |
drm/exynos: fimd: replace struct fb_videomode with videomode
The patch replaces all occurrences of struct fb_videomode by
more accurate struct videomode. The change allows to remove
mode conversion function and simplifies clock divider calculation.
Clock configuration is moved to separate function.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/exynos_drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index d6aeaf3c6d6c..cb65fa14acfc 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h @@ -15,6 +15,7 @@ #define _EXYNOS_DRM_H_ #include <uapi/drm/exynos_drm.h> +#include <video/videomode.h> /** * A structure for lcd panel information. @@ -24,7 +25,7 @@ * @height_mm: physical size of lcd height. */ struct exynos_drm_panel_info { - struct fb_videomode timing; + struct videomode vm; u32 width_mm; u32 height_mm; }; |