projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308975f
)
driver model: fix show/store prototypes in doc.
author
vibi sreenivasan
<
[email protected]
>
Wed, 8 Jul 2009 22:37:03 +0000
(15:37 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sun, 12 Jul 2009 20:02:10 +0000
(13:02 -0700)
FIX prototypes for show & store method in struct driver_attribute
Signed-off-by: vibi sreenivasan <
[email protected]
>
Signed-off-by: Randy Dunlap <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
Documentation/driver-model/driver.txt
patch
|
blob
|
history
diff --git
a/Documentation/driver-model/driver.txt
b/Documentation/driver-model/driver.txt
index 82132169d47a837fc55ea9d53555abc29b2c7b5d..60120fb3b9618181a9e58f855cdef3ecdc5d0649 100644
(file)
--- 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 of
f);
- ssize_t (*store)(struct device_driver *, const char * buf, size_t count
, loff_t off
);
+ ssize_t (*show)(struct device_driver *
driver, char *bu
f);
+ ssize_t (*store)(struct device_driver *, const char * buf, size_t count);
};
Device drivers can export attributes via their sysfs directories.