drm: bridge: dw-hdmi: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 9 Aug 2017 07:38:37 +0000 (13:08 +0530)
committerArchit Taneja <architt@codeaurora.org>
Wed, 9 Aug 2017 10:27:29 +0000 (15:57 +0530)
commitb27cc7b5b728c62a8d7fe92c159a4d8daacd064a
treebaea4e90b5d1e995590255b9e12642b4b92286df
parentf4c35e30881a00c582cf2b50862392232c30eb66
drm: bridge: dw-hdmi: constify snd_pcm_ops structures

snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by <sound/pcm.h> work with
const snd_pcm_ops. So mark the non-const structs as const.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/44c0ccab8b5658d17a3ed553e721136b53d95521.1502264156.git.arvind.yadav.cs@gmail.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c