summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 91aac349b9a7..7b781a72b293 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -335,8 +335,10 @@ extern void driver_attach(struct device_driver * drv);
struct device_attribute {
struct attribute attr;
- ssize_t (*show)(struct device * dev, char * buf);
- ssize_t (*store)(struct device * dev, const char * buf, size_t count);
+ ssize_t (*show)(struct device *dev, struct device_attribute *attr,
+ char *buf);
+ ssize_t (*store)(struct device *dev, struct device_attribute *attr,
+ const char *buf, size_t count);
};
#define DEVICE_ATTR(_name,_mode,_show,_store) \
>* | [XFS] Fix directory inodes ioctl compat code, minor code consistency cleanupsNathan Scott2005-05-064-17/+28 * | [XFS] Fix a bug in xfs_iomap for extent handling of write casesRussell Cattelan2005-05-061-1/+3 |/ * [PATCH] fs/udf/udftime.c: fix off by one errorAdrian Bunk2005-05-051-1/+1 * [PATCH] comments on locking of task->commPaolo 'Blaisorblade' Giarrusso2005-05-051-1/+3 * [PATCH] reiserfs: use NULL instead of 0Randy.Dunlap2005-05-051-1/+1 * [PATCH] make some things staticAdrian Bunk2005-05-0516-32/+45 * [PATCH] revert ext3-writepages-support-for-writeback-modeAndrew Morton2005-05-052-57/+1 * [PATCH] remove do_sync parameter from __invalidate_deviceChristoph Hellwig2005-05-05