summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorManish Badarkhe <badarkhe.manish@gmail.com>2014-04-24 08:55:07 +0530
committerTom Rini <trini@ti.com>2014-05-12 15:19:46 -0400
commitbafd67d3d0f39a19c1e32146cde8b1f4ccd6d666 (patch)
tree2d08fb8d55e3cf224f12979b99b7bd297067ba32 /drivers/power
parent96ee97a17b0d093e8af067acce76de3622ddf3a0 (diff)
downloadu-boot-imx-bafd67d3d0f39a19c1e32146cde8b1f4ccd6d666.zip
u-boot-imx-bafd67d3d0f39a19c1e32146cde8b1f4ccd6d666.tar.gz
u-boot-imx-bafd67d3d0f39a19c1e32146cde8b1f4ccd6d666.tar.bz2
tps6586x: staticize funtions
Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/tps6586x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/tps6586x.c b/drivers/power/tps6586x.c
index 704c243..d29d969 100644
--- a/drivers/power/tps6586x.c
+++ b/drivers/power/tps6586x.c
@@ -32,7 +32,7 @@ enum {
};
#define MAX_I2C_RETRY 3
-int tps6586x_read(int reg)
+static int tps6586x_read(int reg)
{
int i;
uchar data;
@@ -61,7 +61,7 @@ exit:
return retval;
}
-int tps6586x_write(int reg, uchar *data, uint len)
+static int tps6586x_write(int reg, uchar *data, uint len)
{
int i;
int retval = -1;