summaryrefslogtreecommitdiff
path: root/drivers/power/supply/ds2760_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/ds2760_battery.c')
-rw-r--r--drivers/power/supply/ds2760_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/ds2760_battery.c b/drivers/power/supply/ds2760_battery.c
index 11bed88a89fa..695bb6747400 100644
--- a/drivers/power/supply/ds2760_battery.c
+++ b/drivers/power/supply/ds2760_battery.c
@@ -795,7 +795,7 @@ static const struct of_device_id w1_ds2760_of_ids[] = {
};
#endif
-static struct w1_family_ops w1_ds2760_fops = {
+static const struct w1_family_ops w1_ds2760_fops = {
.add_slave = w1_ds2760_add_slave,
.remove_slave = w1_ds2760_remove_slave,
.groups = w1_ds2760_groups,