X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fpower%2Fds2781_battery.c;h=7a1ff4e4cf9a6452f1b58b2074638aac105cdc93;hb=fcc1d2a9cea4ba97c9800e1de0748003bba07335;hp=5f92a4bb33f95aaafe772c3aeea1b2bc54a00186;hpb=1e30c1b3866968ff584ae3cd3909ef93957bb215;p=pandora-kernel.git diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c index 5f92a4bb33f9..7a1ff4e4cf9a 100644 --- a/drivers/power/ds2781_battery.c +++ b/drivers/power/ds2781_battery.c @@ -64,7 +64,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);