]> Pileus Git - ~andy/linux/blobdiff - drivers/misc/eeprom/eeprom.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
[~andy/linux] / drivers / misc / eeprom / eeprom.c
index e306a8cd2f96e1f7bb7be94cb6d9bc03d214f607..45060ddc4e59c23736a84df107d20aa675e6b9a1 100644 (file)
@@ -81,7 +81,8 @@ exit:
        mutex_unlock(&data->update_lock);
 }
 
-static ssize_t eeprom_read(struct kobject *kobj, struct bin_attribute *bin_attr,
+static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
+                          struct bin_attribute *bin_attr,
                           char *buf, loff_t off, size_t count)
 {
        struct i2c_client *client = to_i2c_client(container_of(kobj, struct device, kobj));