diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-04-27 14:45:20 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-04-28 11:07:01 +0300 |
commit | b23109c5b5368ab7512edd78c6fd23ad35a6886b (patch) | |
tree | c367e8f9f6bf59d4caa512d882e70c1683d53be9 /drivers/gpu/drm/i915/display/intel_dp_hdcp.h | |
parent | 8804325861be242a420d68c0175127a5947ac35a (diff) |
drm/i915/hdcp: add intel_dp_hdcp.h and rename init accordingly
Add separate intel_dp_hdcp.h to go with intel_dp_hdcp.c, and rename the
init function intel_dp_hdcp_init() to follow naming where function
prefix matches the file name.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210427114520.4740-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_hdcp.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_hdcp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_hdcp.h b/drivers/gpu/drm/i915/display/intel_dp_hdcp.h new file mode 100644 index 000000000000..eff5ec5c5021 --- /dev/null +++ b/drivers/gpu/drm/i915/display/intel_dp_hdcp.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2021 Intel Corporation + */ + +#ifndef __INTEL_DP_HDCP___ +#define __INTEL_DP_HDCP___ + +struct intel_connector; +struct intel_digital_port; + +int intel_dp_hdcp_init(struct intel_digital_port *dig_port, + struct intel_connector *intel_connector); + +#endif /* __INTEL_DP_HDCP___ */ |