From 72a1e8c17dec475ea583c590a6adaf0913dbe574 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Sun, 12 Jan 2003 22:48:02 -0600 Subject: sysfs: reinstate count parameter to sysfs_ops.store() methods. - Fixup struct device_attribute. - Fix the default device attributes. --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) \ -- cgit v1.2.3