OSDN Git Service

ASoC: Constify the 'compr_ops' field of snd_soc_platform_driver
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 27 Mar 2013 11:02:24 +0000 (12:02 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Mar 2013 23:09:36 +0000 (23:09 +0000)
commitef03c9ae967bf1b40bec1456f7e744033853a01d
tree1738e8469040c7b2afb9be37dc035e8f281a3885
parent1f03f55b0ca679f950148954e807feb22cff325c
ASoC: Constify the 'compr_ops' field of snd_soc_platform_driver

The ASoC core does not modify a platform driver's compr_ops structure. Making it
const allows ASoC platform drivers to declare their snd_compr_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