regulator: tps6105x: 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:
@@ -123,7 +123,7 @@ static struct regulator_ops tps6105x_regulator_ops = {
|
|||||||
.list_voltage = tps6105x_regulator_list_voltage,
|
.list_voltage = tps6105x_regulator_list_voltage,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct regulator_desc tps6105x_regulator_desc = {
|
static const struct regulator_desc tps6105x_regulator_desc = {
|
||||||
.name = "tps6105x-boost",
|
.name = "tps6105x-boost",
|
||||||
.ops = &tps6105x_regulator_ops,
|
.ops = &tps6105x_regulator_ops,
|
||||||
.type = REGULATOR_VOLTAGE,
|
.type = REGULATOR_VOLTAGE,
|
||||||
|
Reference in New Issue
Block a user