diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-08-26 18:42:56 -0400 |
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-09-15 04:55:47 -0400 |
| commit | 1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5 (patch) | |
| tree | 03074e1371f28dfffbc461b35dd4364702cc58f4 /include/linux/platform_data | |
| parent | cd8968f3dd520fae9623ab7d9154760e8feb27c2 (diff) | |
drm/rcar-du: Use struct videomode in platform data
In preparation for DT support where panel timings will be described by a
DRM-agnostic video mode, replace the struct drm_mode_modeinfo instance
in the panel platform data with a struct videomode.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/rcar-du.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/platform_data/rcar-du.h b/include/linux/platform_data/rcar-du.h index 1a2e9901a22e..a5f045e1d8fe 100644 --- a/include/linux/platform_data/rcar-du.h +++ b/include/linux/platform_data/rcar-du.h | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #ifndef __RCAR_DU_H__ | 14 | #ifndef __RCAR_DU_H__ |
| 15 | #define __RCAR_DU_H__ | 15 | #define __RCAR_DU_H__ |
| 16 | 16 | ||
| 17 | #include <drm/drm_mode.h> | 17 | #include <video/videomode.h> |
| 18 | 18 | ||
| 19 | enum rcar_du_output { | 19 | enum rcar_du_output { |
| 20 | RCAR_DU_OUTPUT_DPAD0, | 20 | RCAR_DU_OUTPUT_DPAD0, |
| @@ -35,7 +35,7 @@ enum rcar_du_encoder_type { | |||
| 35 | struct rcar_du_panel_data { | 35 | struct rcar_du_panel_data { |
| 36 | unsigned int width_mm; /* Panel width in mm */ | 36 | unsigned int width_mm; /* Panel width in mm */ |
| 37 | unsigned int height_mm; /* Panel height in mm */ | 37 | unsigned int height_mm; /* Panel height in mm */ |
| 38 | struct drm_mode_modeinfo mode; | 38 | struct videomode mode; |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | struct rcar_du_connector_lvds_data { | 41 | struct rcar_du_connector_lvds_data { |
