diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-09 05:30:43 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-09 05:30:43 -0600 |
| commit | b25f8641dd5d9f1cae312cc681ed26118d83db83 (patch) | |
| tree | b820793f04b97861697a4244c1faf258952ef1d6 /include/linux | |
| parent | 0f902ed5f03360a9a0a32c5aa742262c55f61c40 (diff) | |
sysfs: fix up device attribute read/write methods.
Remove @off and @count from the sysfs_ops, and the core attribute methods.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 2e370a0eb3f5..ecba162850bc 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -319,8 +319,8 @@ extern void device_release_driver(struct device * dev); struct device_attribute { struct attribute attr; - ssize_t (*show)(struct device * dev, char * buf, size_t count, loff_t off); - ssize_t (*store)(struct device * dev, const char * buf, size_t count, loff_t off); + ssize_t (*show)(struct device * dev, char * buf); + ssize_t (*store)(struct device * dev, const char * buf); }; #define DEVICE_ATTR(_name,_mode,_show,_store) \ |
