regulator: pcf50633: 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-05 12:02:36 +08:00 committed by Mark Brown
parent 487f71e6f5
commit 2ac2d7d830
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static struct regulator_ops pcf50633_regulator_ops = {
.is_enabled = pcf50633_regulator_is_enabled,
};
static struct regulator_desc regulators[] = {
static const struct regulator_desc regulators[] = {
[PCF50633_REGULATOR_AUTO] =
PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81),
[PCF50633_REGULATOR_DOWN1] =