From yani.ioannou@gmail.com Tue May 17 03:46:15 2005 Message-ID: <2538186705051703406a12b66f@mail.gmail.com> Date: Tue, 17 May 2005 06:40:28 -0400 From: Yani Ioannou To: Greg KH Subject: Driver core: Documentation: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman --- Documentation/filesystems/sysfs.txt | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- gregkh-2.6.orig/Documentation/filesystems/sysfs.txt 2005-03-01 23:38:34.000000000 -0800 +++ gregkh-2.6/Documentation/filesystems/sysfs.txt 2005-05-17 23:11:19.000000000 -0700 @@ -214,7 +214,7 @@ A very simple (and naive) implementation of a device attribute is: -static ssize_t show_name(struct device * dev, char * buf) +static ssize_t show_name(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf,"%s\n",dev->name); }