diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 3abda7554d8287e21a8631307ff6dc86c098aad9..efe058f8f746fc5ec3fd7ba193391ee529a574a6 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; - struct regulator_ops *ops; + const struct regulator_ops *ops; int irq; enum regulator_type type; struct module *owner;