浏览代码

tps6586x: staticize funtions

Make funtions static which are locally used in file.

Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Manish Badarkhe 11 年之前
父节点
当前提交
bafd67d3d0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/power/tps6586x.c

+ 2 - 2
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;