]> Pileus Git - ~andy/linux/blobdiff - drivers/power/olpc_battery.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[~andy/linux] / drivers / power / olpc_battery.c
index 8fefe5a73558895f5bb0df35b865366ea02e8618..baefcf1cffc9cdda1e8792aeddf3973621b0c1da 100644 (file)
@@ -354,7 +354,7 @@ static enum power_supply_property olpc_bat_props[] = {
 #define EEPROM_END     0x80
 #define EEPROM_SIZE    (EEPROM_END - EEPROM_START)
 
-static ssize_t olpc_bat_eeprom_read(struct kobject *kobj,
+static ssize_t olpc_bat_eeprom_read(struct file *filp, struct kobject *kobj,
                struct bin_attribute *attr, char *buf, loff_t off, size_t count)
 {
        uint8_t ec_byte;