ASoC: Constify the 'driver' field of snd_soc_platform
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 27 Mar 2013 11:02:22 +0000 (12:02 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Mar 2013 23:08:35 +0000 (23:08 +0000)
commitd79e57db84f8359bc96418900f86b8fc4189eff9
tree30ce0538e4c1ebd72498d8083b4da2a32d7c1256
parent36300fd09823be8f7d6feaaa79ddbf54cf205378
ASoC: Constify the 'driver' field of snd_soc_platform

The ASoC core does no not modify the driver of a platform. Making it const
allows ASoC platform drivers to declare the snd_soc_platform_driver 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
sound/soc/soc-core.c