diff options
| author | Jani Nikula <[email protected]> | 2019-08-06 10:07:26 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2019-08-07 09:01:51 +0000 |
| commit | e15fd1bee2a998bffce776dd312108a2676bee57 (patch) | |
| tree | 647237c840837829fa260869727323d5a2082de7 /drivers/gpu/drm/i915/display/intel_dp_mst.h | |
| parent | drm/i915/bw: make intel_atomic_get_bw_state() static (diff) | |
| download | kernel-e15fd1bee2a998bffce776dd312108a2676bee57.tar.gz kernel-e15fd1bee2a998bffce776dd312108a2676bee57.zip | |
drm/i915/mst: un-inline intel_dp_mst_encoder_active_links()
Avoid including the intel_drv.h mega header from other header files to
make further header cleanup easier.
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/ae8f7a9514a9e952e1e0dba411aeb42293d1e183.1565085691.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.h')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.h b/drivers/gpu/drm/i915/display/intel_dp_mst.h index 6754c211205a..f660ad80db04 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.h +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.h @@ -6,15 +6,10 @@ #ifndef __INTEL_DP_MST_H__ #define __INTEL_DP_MST_H__ -#include "intel_drv.h" +struct intel_digital_port; int intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_id); void intel_dp_mst_encoder_cleanup(struct intel_digital_port *intel_dig_port); -static inline int -intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port) -{ - return intel_dig_port->dp.active_mst_links; -} - +int intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port); #endif /* __INTEL_DP_MST_H__ */ |
