lkml.org 
[lkml]   [2005]   [May]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 14 May 2005 05:25:11 -0400
FromYani Ioannou <>
Subject[PATCH 2.6.12-rc4 2/12] Documentation: (dynamic sysfs callbacks) update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>

--- sysfs.txt |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr/Documentation/filesystems/sysfs.txt linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn/Documentation/filesystems/sysfs.txt
--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr/Documentation/filesystems/sysfs.txt	2005-05-11 00:28:12.000000000 -0400
+++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn/Documentation/filesystems/sysfs.txt	2005-05-11 00:34:03.000000000 -0400
@@ -214,7 +214,7 @@ Other notes:
 
 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, char * buf, void *private)
 {
         return sprintf(buf,"%s\n",dev->name);
 }

\
 
 \ /
  Last update: 2005-05-14 11:30    [from the cache]
©2003-2008