forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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,