Browse Source

regulator: isl6271a: Constify regulator_desc

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 years ago
parent
commit
4b65e159b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/isl6271a-regulator.c

+ 1 - 1
drivers/regulator/isl6271a-regulator.c

@@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = {
 	.list_voltage	= isl6271a_list_fixed_voltage,
 };
 
-static struct regulator_desc isl_rd[] = {
+static const struct regulator_desc isl_rd[] = {
 	{
 		.name		= "Core Buck",
 		.id		= 0,