diff mbox series

[RFC,linusw-nomadik] power: supply: samsung_vbat2res_discharging_eb_l1m7flu[] can be static

Message ID 20220225174407.GA102223@9be3fde61b1e (mailing list archive)
State New, archived
Headers show
Series [RFC,linusw-nomadik] power: supply: samsung_vbat2res_discharging_eb_l1m7flu[] can be static | expand

Commit Message

kernel test robot Feb. 25, 2022, 5:44 p.m. UTC
drivers/power/supply/samsung-sdi-battery.c:29:35: warning: symbol 'samsung_vbat2res_discharging_eb_l1m7flu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:57:35: warning: symbol 'samsung_vbat2res_charging_eb_l1m7flu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:77:35: warning: symbol 'samsung_vbat2res_discharging_eb425161la' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:109:35: warning: symbol 'samsung_vbat2res_charging_eb425161la' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:186:35: warning: symbol 'samsung_vbat2res_discharging_eb425161lu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:218:35: warning: symbol 'samsung_vbat2res_charging_eb425161lu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:248:35: warning: symbol 'samsung_vbat2res_discharging_eb485159lu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:275:35: warning: symbol 'samsung_vbat2res_charging_eb485159lu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:295:35: warning: symbol 'samsung_vbat2res_discharging_eb535151vu' was not declared. Should it be static?
drivers/power/supply/samsung-sdi-battery.c:315:35: warning: symbol 'samsung_vbat2res_charging_eb535151vu' was not declared. Should it be static?

Fixes: 77f450def23a ("power: supply: Static data for Samsung batteries")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 drivers/power/supply/samsung-sdi-battery.c |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/drivers/power/supply/samsung-sdi-battery.c b/drivers/power/supply/samsung-sdi-battery.c
index 8e718f0fc2b5b..3dbc05bc2e576 100644
--- a/drivers/power/supply/samsung-sdi-battery.c
+++ b/drivers/power/supply/samsung-sdi-battery.c
@@ -26,7 +26,7 @@  struct samsung_sdi_battery {
  * tables apply depending on whether we are charging or not.
  */
 
-struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = {
 	{ .vbat_uv = 4240000, .ri_uohm = 160000 },
 	{ .vbat_uv = 4210000, .ri_uohm = 179000 },
 	{ .vbat_uv = 4180000, .ri_uohm = 183000 },
@@ -54,7 +54,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = {
 	{ .vbat_uv = 3300000, .ri_uohm = 339000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = {
 	{ .vbat_uv = 4302000, .ri_uohm = 230000 },
 	{ .vbat_uv = 4276000, .ri_uohm = 345000 },
 	{ .vbat_uv = 4227000, .ri_uohm = 345000 },
@@ -74,7 +74,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = {
 	{ .vbat_uv = 3590000, .ri_uohm = 164000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = {
 	{ .vbat_uv = 4240000, .ri_uohm = 160000 },
 	{ .vbat_uv = 4210000, .ri_uohm = 179000 },
 	{ .vbat_uv = 4180000, .ri_uohm = 183000 },
@@ -106,7 +106,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = {
 	{ .vbat_uv = 3300000, .ri_uohm = 339000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = {
 	{ .vbat_uv = 4345000, .ri_uohm = 230000 },
 	{ .vbat_uv = 4329000, .ri_uohm = 238000 },
 	{ .vbat_uv = 4314000, .ri_uohm = 225000 },
@@ -183,7 +183,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = {
 	{ .vbat_uv = 3590000, .ri_uohm = 164000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = {
 	{ .vbat_uv = 4240000, .ri_uohm = 160000 },
 	{ .vbat_uv = 4210000, .ri_uohm = 179000 },
 	{ .vbat_uv = 4180000, .ri_uohm = 183000 },
@@ -215,7 +215,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = {
 	{ .vbat_uv = 3300000, .ri_uohm = 339000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = {
 	{ .vbat_uv = 4346000, .ri_uohm = 293000 },
 	{ .vbat_uv = 4336000, .ri_uohm = 290000 },
 	{ .vbat_uv = 4315000, .ri_uohm = 274000 },
@@ -245,7 +245,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = {
 	{ .vbat_uv = 3590000, .ri_uohm = 164000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = {
 	{ .vbat_uv = 4240000, .ri_uohm = 160000 },
 	{ .vbat_uv = 4210000, .ri_uohm = 179000 },
 	{ .vbat_uv = 4180000, .ri_uohm = 183000 },
@@ -272,7 +272,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = {
 	{ .vbat_uv = 3300000, .ri_uohm = 339000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = {
 	{ .vbat_uv = 4302000, .ri_uohm = 200000 },
 	{ .vbat_uv = 4258000, .ri_uohm = 206000 },
 	{ .vbat_uv = 4200000, .ri_uohm = 231000 },
@@ -292,7 +292,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = {
 	{ .vbat_uv = 3590000, .ri_uohm = 164000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = {
 	{ .vbat_uv = 4071000, .ri_uohm = 158000 },
 	{ .vbat_uv = 4019000, .ri_uohm = 187000 },
 	{ .vbat_uv = 3951000, .ri_uohm = 191000 },
@@ -312,7 +312,7 @@  struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = {
 	{ .vbat_uv = 3280000, .ri_uohm = 250000 },
 };
 
-struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb535151vu[] = {
+static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb535151vu[] = {
 	{ .vbat_uv = 4190000, .ri_uohm = 214000 },
 	{ .vbat_uv = 4159000, .ri_uohm = 252000 },
 	{ .vbat_uv = 4121000, .ri_uohm = 245000 },