diff options
author | vibi sreenivasan <vibi_sreenivasan@cms.com> | 2009-07-08 15:37:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-12 13:02:10 -0700 |
commit | 909662e1e7290945fa3bca038bc3b7bb5d19499f (patch) | |
tree | e34adf334dcfad772487c14216508d6248cf86b9 | |
parent | 308975fa7ab2a8e0b91186158128668c823790ce (diff) | |
download | linux-909662e1e7290945fa3bca038bc3b7bb5d19499f.tar.gz linux-909662e1e7290945fa3bca038bc3b7bb5d19499f.tar.bz2 linux-909662e1e7290945fa3bca038bc3b7bb5d19499f.zip |
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>
-rw-r--r-- | 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 82132169d47a..60120fb3b961 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. |