From: Ajay Kumar Date: Thu, 31 Jul 2014 17:42:04 +0000 (+0530) Subject: drm/panel: simple: Add dummy prepare and unprepare routines X-Git-Tag: v6.6-pxa1908~22828^2~2^2~13 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c0e1d1706a1dabd9811602bda3b6b265050a9566;p=linux.git 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 Signed-off-by: Thierry Reding --- 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, };