ASoC: Constify the 'ops' field of snd_soc_platform_driver
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 27 Mar 2013 11:02:23 +0000 (12:02 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Mar 2013 23:08:35 +0000 (23:08 +0000)
commit1f03f55b0ca679f950148954e807feb22cff325c
treedb49721705a0be5fbf74021d061c88771a338d9c
parentd79e57db84f8359bc96418900f86b8fc4189eff9
ASoC: Constify the 'ops' field of snd_soc_platform_driver

The ASoC core does not modify a platform driver's ops structure. Making it const
allows ASoC platform drivers to declare their snd_pcm_ops struct as const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h