diff options
author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2014-07-31 23:12:03 +0530 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-08-06 16:44:10 +0200 |
commit | f99a23bd492cf3bcee59ef23b7a405e81fdfc2db (patch) | |
tree | c78756aebd890d000456dd8d9e6a872f78b72104 /drivers/gpu/drm/panel | |
parent | 099b3e8699322efb7229913d2c1651588205f182 (diff) | |
download | op-kernel-dev-f99a23bd492cf3bcee59ef23b7a405e81fdfc2db.zip op-kernel-dev-f99a23bd492cf3bcee59ef23b7a405e81fdfc2db.tar.gz |
drm/panel: s6e8aa0: Add dummy prepare and unprepare routines
This patch adds dummy definition for prepare and unprepare
routines to s6e8aa0 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-s6e8aa0.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-s6e8aa0.c b/drivers/gpu/drm/panel/panel-s6e8aa0.c index 4fe0bbb..31f2c87 100644 --- a/drivers/gpu/drm/panel/panel-s6e8aa0.c +++ b/drivers/gpu/drm/panel/panel-s6e8aa0.c @@ -903,6 +903,16 @@ static int s6e8aa0_disable(struct drm_panel *panel) return s6e8aa0_power_off(ctx); } +static int s6e8aa0_unprepare(struct drm_panel *panel) +{ + return 0; +} + +static int s6e8aa0_prepare(struct drm_panel *panel) +{ + return 0; +} + static int s6e8aa0_enable(struct drm_panel *panel) { struct s6e8aa0 *ctx = panel_to_s6e8aa0(panel); @@ -947,6 +957,8 @@ static int s6e8aa0_get_modes(struct drm_panel *panel) static const struct drm_panel_funcs s6e8aa0_drm_funcs = { .disable = s6e8aa0_disable, + .unprepare = s6e8aa0_unprepare, + .prepare = s6e8aa0_prepare, .enable = s6e8aa0_enable, .get_modes = s6e8aa0_get_modes, }; |