staging: greybus: audio: constify snd_soc_dai_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 21 Aug 2017 04:58:24 +0000 (10:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:33:19 +0000 (18:33 -0700)
commitccc5d98ae06a6da39c68db2338ce7902765b79f9
treec7eb56b889ae440617cda6429f27dc0d64cd1e8f
parent4a27e3e09d2f846905163eb967884a1efb8e6462
staging: greybus: audio: constify snd_soc_dai_ops structures

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

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c