ASoC: Make struct snd_soc_card's dapm_widgets and dapm_routes const
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 12 Apr 2011 17:31:01 +0000 (19:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Apr 2011 17:34:26 +0000 (10:34 -0700)
commitd06e48db1670b29b3f62f1dfe4a36af237d5aa0d
treeb11558c2bcdc230b30edf592c357022dba3818fa
parentec5af076f53da800eef939ab092561d85f162637
ASoC: Make struct snd_soc_card's dapm_widgets and dapm_routes const

Those should not be modified (and are not) by the core code, so make them const.
This also makes them consistent with the same members of snd_soc_codec.

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