summaryrefslogtreecommitdiff
path: root/drivers/power/supply/max1721x_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/max1721x_battery.c')
-rw-r--r--drivers/power/supply/max1721x_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/max1721x_battery.c b/drivers/power/supply/max1721x_battery.c
index 9ca895b0dabb..1b1a36f8e929 100644
--- a/drivers/power/supply/max1721x_battery.c
+++ b/drivers/power/supply/max1721x_battery.c
@@ -431,7 +431,7 @@ static int devm_w1_max1721x_add_device(struct w1_slave *sl)
return 0;
}
-static struct w1_family_ops w1_max1721x_fops = {
+static const struct w1_family_ops w1_max1721x_fops = {
.add_slave = devm_w1_max1721x_add_device,
};