diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index efe058f8f746fc5ec3fd7ba193391ee529a574a6..3abda7554d8287e21a8631307ff6dc86c098aad9 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -246,7 +246,7 @@ struct regulator_desc { int id; bool continuous_voltage_range; unsigned n_voltages; - const struct regulator_ops *ops; + struct regulator_ops *ops; int irq; enum regulator_type type; struct module *owner;