aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/at25.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/at25.c')
-rw-r--r--drivers/spi/at25.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/spi/at25.c b/drivers/spi/at25.c
index fde1ded..e007833 100644
--- a/drivers/spi/at25.c
+++ b/drivers/spi/at25.c
@@ -111,7 +111,8 @@ at25_ee_read(
}
static ssize_t
-at25_bin_read(struct kobject *kobj, char *buf, loff_t off, size_t count)
+at25_bin_read(struct kobject *kobj, struct bin_attribute *bin_attr,
+ char *buf, loff_t off, size_t count)
{
struct device *dev;
struct at25_data *at25;
@@ -236,7 +237,8 @@ at25_ee_write(struct at25_data *at25, char *buf, loff_t off, size_t count)
}
static ssize_t
-at25_bin_write(struct kobject *kobj, char *buf, loff_t off, size_t count)
+at25_bin_write(struct kobject *kobj, struct bin_attribute *bin_attr,
+ char *buf, loff_t off, size_t count)
{
struct device *dev;
struct at25_data *at25;