projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032048d
)
drm/i915/hdmi: make hdcp2_msg_data const
author
Jani Nikula
<jani.nikula@intel.com>
Tue, 20 Aug 2019 13:40:19 +0000
(16:40 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 21 Aug 2019 10:12:02 +0000
(13:12 +0300)
It's static const data, make it so.
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-5-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_hdmi.c
b/drivers/gpu/drm/i915/display/intel_hdmi.c
index
d30c831
..
e02f0fa
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/
drivers/gpu/drm/i915/display/intel_hdmi.c
@@
-1520,7
+1520,7
@@
struct hdcp2_hdmi_msg_data {
u32 timeout2;
};
-static struct hdcp2_hdmi_msg_data hdcp2_msg_data[] = {
+static
const
struct hdcp2_hdmi_msg_data hdcp2_msg_data[] = {
{ HDCP_2_2_AKE_INIT, 0, 0 },
{ HDCP_2_2_AKE_SEND_CERT, HDCP_2_2_CERT_TIMEOUT_MS, 0 },
{ HDCP_2_2_AKE_NO_STORED_KM, 0, 0 },