Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a76d2dc1 authored by Xiaowen Wu's avatar Xiaowen Wu
Browse files

drm/msm/shd: add dsi_display base in shd_display



Add empty dsi_display base in shd_display to avoid type-casting
error when mapping shd_display to dsi_display object.

Change-Id: I7c9997bf06a80146b30ec116f8d12a38dae725d3
Signed-off-by: default avatarXiaowen Wu <wxiaowen@codeaurora.org>
parent c9152156
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include "msm_drv.h"
#include "dsi_display.h"

struct shd_mode_info {
	int x_offset;
@@ -51,6 +52,7 @@ struct shd_display_base {
};

struct shd_display {
	struct dsi_display dsi_base;
	struct drm_device *drm_dev;
	const char *name;