Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: isl6271a: Constify isl_core_ops and isl_fixed_ops

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
1dceee5e a6e58299

+2 -2
+2 -2
drivers/regulator/isl6271a-regulator.c
··· 65 65 return err; 66 66 } 67 67 68 - static struct regulator_ops isl_core_ops = { 68 + static const struct regulator_ops isl_core_ops = { 69 69 .get_voltage_sel = isl6271a_get_voltage_sel, 70 70 .set_voltage_sel = isl6271a_set_voltage_sel, 71 71 .list_voltage = regulator_list_voltage_linear, 72 72 .map_voltage = regulator_map_voltage_linear, 73 73 }; 74 74 75 - static struct regulator_ops isl_fixed_ops = { 75 + static const struct regulator_ops isl_fixed_ops = { 76 76 .list_voltage = regulator_list_voltage_linear, 77 77 }; 78 78