diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 20:57:46 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 11:27:37 (GMT) |
commit | 19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e (patch) | |
tree | 614234ed7a890398eee4c2b3e4f777ff10a4cd52 /drivers/i2c | |
parent | 654f8d0f3d4c606b75b70bbf0b1303a6074f0788 (diff) | |
download | u-boot-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.tar.xz |
tegra: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/tegra_i2c.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 257b72f..562211e 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -471,8 +471,8 @@ static void tegra_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) } /* i2c write version without the register address */ -int i2c_write_data(struct i2c_bus *bus, uchar chip, uchar *buffer, int len, - bool end_with_repeated_start) +static int i2c_write_data(struct i2c_bus *bus, uchar chip, uchar *buffer, + int len, bool end_with_repeated_start) { int rc; @@ -493,7 +493,8 @@ int i2c_write_data(struct i2c_bus *bus, uchar chip, uchar *buffer, int len, } /* i2c read version without the register address */ -int i2c_read_data(struct i2c_bus *bus, uchar chip, uchar *buffer, int len) +static int i2c_read_data(struct i2c_bus *bus, uchar chip, uchar *buffer, + int len) { int rc; |