summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-01-09 20:56:34 -0600
committerPatrick Mochel <mochel@osdl.org>2003-01-09 20:56:34 -0600
commit1a0bc0cc856dd68f6ea4203af64a2b96d3cd9ec1 (patch)
treedc81c3f19bb5242bde5e77209af2357435ea6fb6 /include/linux/device.h
parent03a85f8e25d52e15112eb5e146e2766337217ed5 (diff)
parentc1848c1e0ec236d118cb7e28fb0e8b56f286b366 (diff)
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index d5aa116942b8..7c4bc77b695d 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -97,8 +97,8 @@ int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
struct bus_attribute {
struct attribute attr;
- ssize_t (*show)(struct bus_type *, char * buf, size_t count, loff_t off);
- ssize_t (*store)(struct bus_type *, const char * buf, size_t count, loff_t off);
+ ssize_t (*show)(struct bus_type *, char * buf);
+ ssize_t (*store)(struct bus_type *, const char * buf);
};
#define BUS_ATTR(_name,_mode,_show,_store) \
@@ -140,8 +140,8 @@ extern void put_driver(struct device_driver * drv);
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 *, char * buf);
+ ssize_t (*store)(struct device_driver *, const char * buf);
};
#define DRIVER_ATTR(_name,_mode,_show,_store) \
@@ -181,8 +181,8 @@ extern void put_devclass(struct device_class *);
struct devclass_attribute {
struct attribute attr;
- ssize_t (*show)(struct device_class *, char * buf, size_t count, loff_t off);
- ssize_t (*store)(struct device_class *, const char * buf, size_t count, loff_t off);
+ ssize_t (*show)(struct device_class *, char * buf);
+ ssize_t (*store)(struct device_class *, const char * buf);
};
#define DEVCLASS_ATTR(_name,_str,_mode,_show,_store) \
@@ -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) \