From 271b05b683c068a69a2b1175d5d3c227913d2c5c Mon Sep 17 00:00:00 2001 From: Anton Vorontsov Date: Sun, 17 Jun 2012 21:20:05 -0700 Subject: [PATCH] --- yaml --- r: 320484 b: refs/heads/master c: 7dbae5562e86f2731d13bd2b8b3ea3f974f4b87d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/power/ds2781_battery.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c7ffed59a896..9d4e0d30b14a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92311c3c70f9b7f1b7860c2fc2ada09b4d43bfea +refs/heads/master: 7dbae5562e86f2731d13bd2b8b3ea3f974f4b87d diff --git a/trunk/drivers/power/ds2781_battery.c b/trunk/drivers/power/ds2781_battery.c index 975684a40f15..0e87e54b4ab1 100644 --- a/trunk/drivers/power/ds2781_battery.c +++ b/trunk/drivers/power/ds2781_battery.c @@ -69,7 +69,7 @@ static inline int ds2781_battery_io(struct ds2781_device_info *dev_info, return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); } -int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, +static int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, int addr, size_t count) { return ds2781_battery_io(dev_info, buf, addr, count, 0);