diff mbox series

[v3,14/14] drivers/video: Constantify function argument for HDMI infoframe log

Message ID 1544567719-15745-15-git-send-email-uma.shankar@intel.com (mailing list archive)
State New, archived
Headers show
Series Add HDR Metadata Parsing and handling in DRM layer | expand

Commit Message

Shankar, Uma Dec. 11, 2018, 10:35 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Function argument for hdmi_drm_infoframe_log is made constant.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
---
 drivers/video/hdmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c
index 0937c8c..7ab8086 100644
--- a/drivers/video/hdmi.c
+++ b/drivers/video/hdmi.c
@@ -1383,8 +1383,8 @@  static void hdmi_audio_infoframe_log(const char *level,
  * @frame: HDMI DRM infoframe
  */
 static void hdmi_drm_infoframe_log(const char *level,
-                                  struct device *dev,
-                                  struct hdmi_drm_infoframe *frame)
+				   struct device *dev,
+				   const struct hdmi_drm_infoframe *frame)
 {
 	int i;