summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-01-12 22:48:02 -0600
committerPatrick Mochel <mochel@osdl.org>2003-01-12 22:48:02 -0600
commit72a1e8c17dec475ea583c590a6adaf0913dbe574 (patch)
treefd9c3efbd56c1222bcf15cfca983855960bc85f5 /include
parent67eeb0b58981e2f657881fa44ac683fc365d0434 (diff)
sysfs: reinstate count parameter to sysfs_ops.store() methods.
- Fixup struct device_attribute. - Fix the default device attributes.
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 17536217d0c2..c2b01b98c464 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -320,7 +320,7 @@ extern void device_release_driver(struct device * dev);
struct device_attribute {
struct attribute attr;
ssize_t (*show)(struct device * dev, char * buf);
- ssize_t (*store)(struct device * dev, const char * buf);
+ ssize_t (*store)(struct device * dev, const char * buf, size_t count);
};
#define DEVICE_ATTR(_name,_mode,_show,_store) \