driver model: fix show/store prototypes in doc.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, July 13, 2009 - 12:00 pm

Gitweb:     http://git.kernel.org/linus/909662e1e7290945fa3bca038bc3b7bb5d19499f
Commit:     909662e1e7290945fa3bca038bc3b7bb5d19499f
Parent:     308975fa7ab2a8e0b91186158128668c823790ce
Author:     vibi sreenivasan <vibi_sreenivasan@cms.com>
AuthorDate: Wed Jul 8 15:37:03 2009 -0700
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Sun Jul 12 13:02:10 2009 -0700

    driver model: fix show/store prototypes in doc.
    
    FIX prototypes for show & store method in struct driver_attribute
    
    Signed-off-by: vibi sreenivasan <vibi_sreenivasan@cms.com>
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 Documentation/driver-model/driver.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/driver-model/driver.txt b/Documentation/driver-model/driver.txt
index 8213216..60120fb 100644
--- a/Documentation/driver-model/driver.txt
+++ b/Documentation/driver-model/driver.txt
@@ -207,8 +207,8 @@ Attributes
 ~~~~~~~~~~
 struct driver_attribute {
         struct attribute        attr;
-        ssize_t (*show)(struct device_driver *, char * buf, size_t count, loff_t off);
-        ssize_t (*store)(struct device_driver *, const char * buf, size_t count, loff_t off);
+        ssize_t (*show)(struct device_driver *driver, char *buf);
+        ssize_t (*store)(struct device_driver *, const char * buf, size_t count);
 };
 
 Device drivers can export attributes via their sysfs directories. 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
driver model: fix show/store prototypes in doc., Linux Kernel Mailing ..., (Mon Jul 13, 12:00 pm)