Skip to contentSkip to conversation

Documentation: (dynamic sysfs callbacks) update device attribute callbacks

PATCH In review Yani Ioannou 1 participant 1 message May 14, 2005 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 2/12 Documentation: (dynamic sysfs callbacks) update device attribute callbacks

---

 sysfs.txt |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/sysfs.txt +1 -1
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
@@ -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);
 }