@@ -447,7 +447,7 @@ static const struct power_supply_resistance_temp_table samsung_temp2res[] = {
447
447
* These must be sorted by falling OCV value.
448
448
*/
449
449
450
- static struct power_supply_battery_ocv_table samsung_ocv_cap_eb485159lu [] = {
450
+ static const struct power_supply_battery_ocv_table samsung_ocv_cap_eb485159lu [] = {
451
451
{ .ocv = 4330000 , .capacity = 100 },
452
452
{ .ocv = 4320000 , .capacity = 99 },
453
453
{ .ocv = 4283000 , .capacity = 95 },
@@ -499,7 +499,7 @@ static struct power_supply_battery_ocv_table samsung_ocv_cap_eb485159lu[] = {
499
499
};
500
500
501
501
/* Same capacity table is used by eb-l1m7flu, eb425161la, eb425161lu */
502
- static struct power_supply_battery_ocv_table samsung_ocv_cap_1500mah [] = {
502
+ static const struct power_supply_battery_ocv_table samsung_ocv_cap_1500mah [] = {
503
503
{ .ocv = 4328000 , .capacity = 100 },
504
504
{ .ocv = 4299000 , .capacity = 99 },
505
505
{ .ocv = 4281000 , .capacity = 98 },
@@ -540,7 +540,7 @@ static struct power_supply_battery_ocv_table samsung_ocv_cap_1500mah[] = {
540
540
{ .ocv = 3300000 , .capacity = 0 },
541
541
};
542
542
543
- static struct power_supply_battery_ocv_table samsung_ocv_cap_eb535151vu [] = {
543
+ static const struct power_supply_battery_ocv_table samsung_ocv_cap_eb535151vu [] = {
544
544
{ .ocv = 4178000 , .capacity = 100 },
545
545
{ .ocv = 4148000 , .capacity = 99 },
546
546
{ .ocv = 4105000 , .capacity = 95 },
@@ -572,7 +572,7 @@ static struct power_supply_battery_ocv_table samsung_ocv_cap_eb535151vu[] = {
572
572
{ .ocv = 3300000 , .capacity = 0 },
573
573
};
574
574
575
- static struct power_supply_battery_ocv_table samsung_ocv_cap_eb585157lu [] = {
575
+ static const struct power_supply_battery_ocv_table samsung_ocv_cap_eb585157lu [] = {
576
576
{ .ocv = 4320000 , .capacity = 100 },
577
577
{ .ocv = 4296000 , .capacity = 99 },
578
578
{ .ocv = 4283000 , .capacity = 98 },
0 commit comments