disp: msm: make msm_drm into single module

Make msm_drm into single module and all child driver
registers and unregisters are handled from parent's
register and unregister respectively.

Change-Id: I017513d1de3b6b25dd5543d7fa7741c0bac1740d
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
This commit is contained in:
Shashank Babu Chinta Venkata
2019-09-23 10:54:29 -07:00
committed by Chandan Uddaraju
parent eaa458b165
commit 8b8bfe0165
21 changed files with 163 additions and 108 deletions

View File

@@ -127,7 +127,7 @@ struct dp_display {
bool wakeup);
};
#ifdef CONFIG_DRM_MSM_DP
#if IS_ENABLED(CONFIG_DRM_MSM_DP)
int dp_display_get_num_of_displays(void);
int dp_display_get_displays(void **displays, int count);
int dp_display_get_num_of_streams(void);
@@ -149,5 +149,5 @@ static inline int dp_connector_update_pps(struct drm_connector *connector,
{
return 0;
}
#endif
#endif /* CONFIG_DRM_MSM_DP */
#endif /* _DP_DISPLAY_H_ */