regulator: max1586: Constify regulator_desc

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Axel Lin 2012-04-06 08:24:27 +08:00 committed by Mark Brown
parent 78637a3d8c
commit 0373bcff46

View File

@ -161,7 +161,7 @@ static struct regulator_ops max1586_v6_ops = {
.list_voltage = max1586_v6_list, .list_voltage = max1586_v6_list,
}; };
static struct regulator_desc max1586_reg[] = { static const struct regulator_desc max1586_reg[] = {
{ {
.name = "Output_V3", .name = "Output_V3",
.id = MAX1586_V3, .id = MAX1586_V3,