mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
f99a23bd49
commit
c0e1d1706a
1 changed files with 12 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue