mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
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 <marex@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
0b1d7b7271
commit
ce97607154
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue