drm/i915/dp: stylistic cleanup around hdcp2_msg_data
Split struct declaration and array definition. Fix indents and whitespace. No functional changes. Cc: Ramalingam C <ramalingam.c@intel.com> Reviewed-by: Ramalingam C <ramalingam.c@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190820134019.13229-1-jani.nikula@intel.com
This commit is contained in:
@@ -5812,13 +5812,15 @@ struct hdcp2_dp_errata_stream_type {
|
|||||||
u8 stream_type;
|
u8 stream_type;
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
static struct hdcp2_dp_msg_data {
|
struct hdcp2_dp_msg_data {
|
||||||
u8 msg_id;
|
u8 msg_id;
|
||||||
u32 offset;
|
u32 offset;
|
||||||
bool msg_detectable;
|
bool msg_detectable;
|
||||||
u32 timeout;
|
u32 timeout;
|
||||||
u32 timeout2; /* Added for non_paired situation */
|
u32 timeout2; /* Added for non_paired situation */
|
||||||
} hdcp2_msg_data[] = {
|
};
|
||||||
|
|
||||||
|
static struct hdcp2_dp_msg_data hdcp2_msg_data[] = {
|
||||||
{ HDCP_2_2_AKE_INIT, DP_HDCP_2_2_AKE_INIT_OFFSET, false, 0, 0 },
|
{ HDCP_2_2_AKE_INIT, DP_HDCP_2_2_AKE_INIT_OFFSET, false, 0, 0 },
|
||||||
{ HDCP_2_2_AKE_SEND_CERT, DP_HDCP_2_2_AKE_SEND_CERT_OFFSET,
|
{ HDCP_2_2_AKE_SEND_CERT, DP_HDCP_2_2_AKE_SEND_CERT_OFFSET,
|
||||||
false, HDCP_2_2_CERT_TIMEOUT_MS, 0 },
|
false, HDCP_2_2_CERT_TIMEOUT_MS, 0 },
|
||||||
|
|||||||
Reference in New Issue
Block a user