summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:46 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:27:37 -0400
commit19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e (patch)
tree614234ed7a890398eee4c2b3e4f777ff10a4cd52 /drivers/i2c
parent654f8d0f3d4c606b75b70bbf0b1303a6074f0788 (diff)
downloadu-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.zip
u-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.tar.gz
u-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.tar.bz2
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.c7
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;