[RFC PATCH] power: supply: max17040: max17040_family[] can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
 max17040_battery.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/max17040_battery.c b/drivers/power/supply/max17040_battery.c
index 4fd6cf7b60c71..78f04aba4f26a 100644
--- a/drivers/power/supply/max17040_battery.c
+++ b/drivers/power/supply/max17040_battery.c
@@ -62,7 +62,7 @@ struct chip_data {
 	u8  has_soc_alert;
 };
 
-struct chip_data max17040_family[] = {
+static struct chip_data max17040_family[] = {
 	[ID_MAX17040] = {
 		.reset_val = 0x0054,
 		.vcell_shift = 4,



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux