summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2014-07-31 23:12:04 +0530
committerThierry Reding <treding@nvidia.com>2014-08-06 16:44:11 +0200
commitc0e1d1706a1dabd9811602bda3b6b265050a9566 (patch)
tree4721fe39d407ba1f842ca66f264f0680d68fe7c5 /drivers/gpu/drm/panel
parentf99a23bd492cf3bcee59ef23b7a405e81fdfc2db (diff)
drm/panel: simple: Add dummy prepare and unprepare routines
This patch adds dummy definition for prepare and unprepare routines to simple panel driver. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c31b645813a7..4bf33c6b42f0 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -117,6 +117,16 @@ static int panel_simple_disable(struct drm_panel *panel)
return 0;
}
+static int panel_simple_unprepare(struct drm_panel *panel)
+{
+ return 0;
+}
+
+static int panel_simple_prepare(struct drm_panel *panel)
+{
+ return 0;
+}
+
static int panel_simple_enable(struct drm_panel *panel)
{
struct panel_simple *p = to_panel_simple(panel);
@@ -167,6 +177,8 @@ static int panel_simple_get_modes(struct drm_panel *panel)
static const struct drm_panel_funcs panel_simple_funcs = {
.disable = panel_simple_disable,
+ .unprepare = panel_simple_unprepare,
+ .prepare = panel_simple_prepare,
.enable = panel_simple_enable,
.get_modes = panel_simple_get_modes,
};