summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-08-27 02:42:56 +0400
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-09-15 12:55:47 +0400
commit1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5 (patch)
tree03074e1371f28dfffbc461b35dd4364702cc58f4 /include/linux/platform_data
parentcd8968f3dd520fae9623ab7d9154760e8feb27c2 (diff)
downloadlinux-1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5.tar.xz
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.h4
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 @@
#ifndef __RCAR_DU_H__
#define __RCAR_DU_H__
-#include <drm/drm_mode.h>
+#include <video/videomode.h>
enum rcar_du_output {
RCAR_DU_OUTPUT_DPAD0,
@@ -35,7 +35,7 @@ enum rcar_du_encoder_type {
struct rcar_du_panel_data {
unsigned int width_mm; /* Panel width in mm */
unsigned int height_mm; /* Panel height in mm */
- struct drm_mode_modeinfo mode;
+ struct videomode mode;
};
struct rcar_du_connector_lvds_data {