diff options
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/superhyway/superhyway-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/superhyway/superhyway-sysfs.c b/drivers/sh/superhyway/superhyway-sysfs.c index 39ab6a12da76..dc119ce68e3e 100644 --- a/drivers/sh/superhyway/superhyway-sysfs.c +++ b/drivers/sh/superhyway/superhyway-sysfs.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/superhyway.h> | 15 | #include <linux/superhyway.h> |
16 | 16 | ||
17 | #define superhyway_ro_attr(name, fmt, field) \ | 17 | #define superhyway_ro_attr(name, fmt, field) \ |
18 | static ssize_t name##_show(struct device *dev, char *buf) \ | 18 | static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \ |
19 | { \ | 19 | { \ |
20 | struct superhyway_device *s = to_superhyway_device(dev); \ | 20 | struct superhyway_device *s = to_superhyway_device(dev); \ |
21 | return sprintf(buf, fmt, s->field); \ | 21 | return sprintf(buf, fmt, s->field); \ |