regulator: max77686: Make regulator_desc array const
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 27 Oct 2014 15:03:42 +0000 (16:03 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 00:38:34 +0000 (00:38 +0000)
commit73dbdf8ff583ff6693536351973bd24f45ee8668
tree2b6b73cd63bbab6df0ec6afce6955fcb9d7ff08c
parentf114040e3ea6e07372334ade75d1ee0775c355e1
regulator: max77686: Make regulator_desc array const

The regulator_register() expects array of 'regulator_desc' to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77686.c