aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMarek Vasut2020-04-07 13:29:04 +0200
committerHeiko Schocher2020-04-20 06:47:54 +0200
commitce9760715452341c43247f06fe016cd17d54897d (patch)
tree98f5d82b34ebc0a46de39201e49afc6de13f9e46 /cmd
parent0b1d7b7271c6df13da87218dfa8a2459e0eb29fa (diff)
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index 667149e2d45..792415ef93b 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)