mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH driver model: fix show/store prototypes in doc.
@ 2009-07-08 22:37 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-07-08 22:37 UTC (permalink / raw)
  To: lkml; +Cc: gregkh, vibi sreenivasan

From: vibi sreenivasan <vibi_sreenivasan@cms.com>

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>
---
 Documentation/driver-model/driver.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.31-rc2-git2.orig/Documentation/driver-model/driver.txt
+++ linux-2.6.31-rc2-git2/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. 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-08 22:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-08 22:37 [PATCH driver model: fix show/store prototypes in doc Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®