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

Commit 17aff287 authored by Albert Tang's avatar Albert Tang
Browse files

techpack: display: Define dp_connector_set_backlight inline

CONFIG_DRM_MSM_DP is disabled on holi, making this function undefined
and breaking compilation. Like all other inline functions, make this one
return 0.

Change-Id: I1ae0eeab563c3a67fb35d92e8ad2c391458778e6
parent 3aadf45e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -201,6 +201,12 @@ static inline int dp_connector_atomic_check(struct drm_connector *connector,
	return 0;
}

static inline int dp_connector_set_backlight(struct drm_connector *connector,
		void *display, u32 bl_lvl)
{
	return 0;
}

static inline int dp_connector_set_colorspace(struct drm_connector *connector,
		void *display)
{