video/hdmi: Constify infoframe passed to the log functions
The log functions don't modify the passed in infoframe so make it const. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Hans Verkuil <hans.verkuil@cisco.com> Cc: linux-media@vger.kernel.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180920185145.1912-4-ville.syrjala@linux.intel.com Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
This commit is contained in:
@@ -335,6 +335,6 @@ hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size);
|
||||
int hdmi_infoframe_unpack(union hdmi_infoframe *frame,
|
||||
const void *buffer, size_t size);
|
||||
void hdmi_infoframe_log(const char *level, struct device *dev,
|
||||
union hdmi_infoframe *frame);
|
||||
const union hdmi_infoframe *frame);
|
||||
|
||||
#endif /* _DRM_HDMI_H */
|
||||
|
Reference in New Issue
Block a user