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,