mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
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
This commit is contained in:
parent
3aadf45ed1
commit
17aff28713
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue