projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df4ff2
)
i2c_eeprom: add static to i2c_eeprom_std_ops/probe
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:51:22 +0000
(16:51 +0900)
committer
Heiko Schocher
<hs@denx.de>
Mon, 26 Jun 2017 05:12:47 +0000
(07:12 +0200)
These are only used in drivers/mis/i2c_eeprom.c
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/misc/i2c_eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/misc/i2c_eeprom.c
b/drivers/misc/i2c_eeprom.c
index
da6e2b0
..
a14e832
100644
(file)
--- a/
drivers/misc/i2c_eeprom.c
+++ b/
drivers/misc/i2c_eeprom.c
@@
-42,7
+42,7
@@
static int i2c_eeprom_std_write(struct udevice *dev, int offset,
return -ENODEV;
}
-struct i2c_eeprom_ops i2c_eeprom_std_ops = {
+st
atic const st
ruct i2c_eeprom_ops i2c_eeprom_std_ops = {
.read = i2c_eeprom_std_read,
.write = i2c_eeprom_std_write,
};
@@
-59,7
+59,7
@@
static int i2c_eeprom_std_ofdata_to_platdata(struct udevice *dev)
return 0;
}
-int i2c_eeprom_std_probe(struct udevice *dev)
+
static
int i2c_eeprom_std_probe(struct udevice *dev)
{
return 0;
}