projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1d7b7
)
cmd: eeprom: Staticize eeprom_i2c_bus
author
Marek Vasut
<marex@denx.de>
Tue, 7 Apr 2020 11:29:04 +0000
(13:29 +0200)
committer
Heiko 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
patch
|
blob
|
history
diff --git
a/cmd/eeprom.c
b/cmd/eeprom.c
index 667149e2d45b2490dc670bc263626f757bccc088..792415ef93b6848b7348611de7da436624127e76 100644
(file)
--- 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)