From: Manish Badarkhe Date: Thu, 24 Apr 2014 03:25:07 +0000 (+0530) Subject: tps6586x: staticize funtions X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=bafd67d3d0f39a19c1e32146cde8b1f4ccd6d666;p=u-boot.git tps6586x: staticize funtions Make funtions static which are locally used in file. Signed-off-by: Manish Badarkhe --- diff --git a/drivers/power/tps6586x.c b/drivers/power/tps6586x.c index 704c2439b1..d29d969533 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;