From: Marek Vasut Date: Tue, 7 Apr 2020 11:29:04 +0000 (+0200) Subject: cmd: eeprom: Staticize eeprom_i2c_bus X-Git-Tag: v2020.07-rc1~25^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce9760715452341c43247f06fe016cd17d54897d;p=oweals%2Fu-boot.git cmd: eeprom: Staticize eeprom_i2c_bus The eeprom_i2c_bus is not used outside of this file, make it static. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Tom Rini Reviewed-by: Heiko Schocher --- diff --git a/cmd/eeprom.c b/cmd/eeprom.c index 667149e2d4..792415ef93 100644 --- a/cmd/eeprom.c +++ b/cmd/eeprom.c @@ -61,7 +61,7 @@ #endif #if defined(CONFIG_DM_I2C) -int eeprom_i2c_bus; +static int eeprom_i2c_bus; #endif __weak int eeprom_write_enable(unsigned dev_addr, int state)