]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: eeprom: Staticize eeprom_i2c_bus
authorMarek Vasut <marex@denx.de>
Tue, 7 Apr 2020 11:29:04 +0000 (13:29 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 20 Apr 2020 04:47:54 +0000 (06:47 +0200)
The eeprom_i2c_bus is not used outside of this file, make it static.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
cmd/eeprom.c

index 667149e2d45b2490dc670bc263626f757bccc088..792415ef93b6848b7348611de7da436624127e76 100644 (file)
@@ -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)