hwmon: (pmbus_core) Constify pmbus_regulator_ops

pmbus_regulator_ops is not modified after initialized, so make it const.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Axel Lin
2015-07-10 13:00:08 +08:00
committed by Guenter Roeck
parent 7b7a8b4237
commit a07d73113f
2 changed files with 2 additions and 2 deletions

View File

@@ -380,7 +380,7 @@ struct pmbus_driver_info {
/* Regulator ops */
extern struct regulator_ops pmbus_regulator_ops;
extern const struct regulator_ops pmbus_regulator_ops;
/* Macro for filling in array of struct regulator_desc */
#define PMBUS_REGULATOR(_name, _id) \