ASoC: sunxi: make snd_soc_codec_driver structures as const
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 3 Aug 2017 16:00:20 +0000 (21:30 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 11:33:51 +0000 (12:33 +0100)
commit92ff5d085ecc8255600551055262bf98a8f3f1d0
tree556d63aa12be2b28c12afca932285bf1588589d4
parent47bea0c836867b6b1cdb714d58f2bfc8e2f5c386
ASoC: sunxi: make snd_soc_codec_driver structures as const

Declare snd_soc_codec_driver structures as const as they are either
passed as an argument to the function snd_soc_register_codec or stored as
reference in field codec of type sun4i_codec_quirks. Both the fucntion
argument and the codec field are of type const, so declare the
structures with this property as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c
sound/soc/sunxi/sun8i-codec.c