aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2781_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/ds2781_battery.c')
-rw-r--r--drivers/power/ds2781_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ds2781_battery.c b/drivers/power/ds2781_battery.c
index 975684a40f15..0e87e54b4ab1 100644
--- a/drivers/power/ds2781_battery.c
+++ b/drivers/power/ds2781_battery.c
@@ -69,7 +69,7 @@ static inline int ds2781_battery_io(struct ds2781_device_info *dev_info,
69 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); 69 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io);
70} 70}
71 71
72int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, 72static int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf,
73 int addr, size_t count) 73 int addr, size_t count)
74{ 74{
75 return ds2781_battery_io(dev_info, buf, addr, count, 0); 75 return ds2781_battery_io(dev_info, buf, addr, count, 0);