forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/power/supply/ds2760_battery.c
....@@ -795,7 +795,7 @@
795795 };
796796 #endif
797797
798
-static struct w1_family_ops w1_ds2760_fops = {
798
+static const struct w1_family_ops w1_ds2760_fops = {
799799 .add_slave = w1_ds2760_add_slave,
800800 .remove_slave = w1_ds2760_remove_slave,
801801 .groups = w1_ds2760_groups,