]> err.no Git - linux-2.6/blobdiff - drivers/sh/superhyway/superhyway-sysfs.c
[PATCH] m32r: framebuffer device support
[linux-2.6] / drivers / sh / superhyway / superhyway-sysfs.c
index 39ab6a12da76f75ca0ea868ab84f7b1fd0761894..dc119ce68e3eafa7a0c6c4e03d244224b3e3c8df 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/superhyway.h>
 
 #define superhyway_ro_attr(name, fmt, field)                           \
-static ssize_t name##_show(struct device *dev, char *buf)              \
+static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf)               \
 {                                                                      \
        struct superhyway_device *s = to_superhyway_device(dev);        \
        return sprintf(buf, fmt, s->field);                             \