From patchwork Tue Apr 7 11:29:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 237318 List-Id: U-Boot discussion From: marex at denx.de (Marek Vasut) Date: Tue, 7 Apr 2020 13:29:04 +0200 Subject: [PATCH] cmd: eeprom: Staticize eeprom_i2c_bus Message-ID: <20200407112904.23607-1-marex@denx.de> 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 --- cmd/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)