diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-12 22:48:02 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-12 22:48:02 -0600 |
| commit | 72a1e8c17dec475ea583c590a6adaf0913dbe574 (patch) | |
| tree | fd9c3efbd56c1222bcf15cfca983855960bc85f5 /include/linux/device.h | |
| parent | 67eeb0b58981e2f657881fa44ac683fc365d0434 (diff) | |
sysfs: reinstate count parameter to sysfs_ops.store() methods.
- Fixup struct device_attribute.
- Fix the default device attributes.
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 2 |
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) \ |
