diff options
author | Yani Ioannou <yani.ioannou@gmail.com> | 2005-05-17 06:43:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 15:15:35 -0700 |
commit | 10523b3b82456e416cbaffcc24ea2246980aa746 (patch) | |
tree | fab3ac16bffb04cc25683e83a583b1cae3f0d450 /drivers/sh/superhyway/superhyway-sysfs.c | |
parent | 3fd3c0a5f53a0f9d8987b90acbd84f7dd8ef606e (diff) | |
download | blackbird-op-linux-10523b3b82456e416cbaffcc24ea2246980aa746.tar.gz blackbird-op-linux-10523b3b82456e416cbaffcc24ea2246980aa746.zip |
[PATCH] Driver Core: drivers/s390/net/qeth_sys.c - drivers/usb/gadget/pxa2xx_udc.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/sh/superhyway/superhyway-sysfs.c')
-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 @@ #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); \ |