diff options
author | Yani Ioannou <yani.ioannou@gmail.com> | 2005-05-17 06:42:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:34 -0400 |
commit | e404e274f62665f3333d6a539d0d3701f678a598 (patch) | |
tree | ef6618291524edaab45c4123274730c7d57ae852 /drivers/input/mouse/psmouse.h | |
parent | a5099cfc2e82240b0a3e72ad79a5969d5af1a7dc (diff) |
[PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r-- | drivers/input/mouse/psmouse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h index bda5b065d03c..79e17a0c4664 100644 --- a/drivers/input/mouse/psmouse.h +++ b/drivers/input/mouse/psmouse.h | |||
@@ -91,11 +91,11 @@ ssize_t psmouse_attr_set_helper(struct device *dev, const char *buf, size_t coun | |||
91 | #define PSMOUSE_DEFINE_ATTR(_name) \ | 91 | #define PSMOUSE_DEFINE_ATTR(_name) \ |
92 | static ssize_t psmouse_attr_show_##_name(struct psmouse *, char *); \ | 92 | static ssize_t psmouse_attr_show_##_name(struct psmouse *, char *); \ |
93 | static ssize_t psmouse_attr_set_##_name(struct psmouse *, const char *, size_t);\ | 93 | static ssize_t psmouse_attr_set_##_name(struct psmouse *, const char *, size_t);\ |
94 | static ssize_t psmouse_do_show_##_name(struct device *d, char *b) \ | 94 | static ssize_t psmouse_do_show_##_name(struct device *d, struct device_attribute *attr, char *b) \ |
95 | { \ | 95 | { \ |
96 | return psmouse_attr_show_helper(d, b, psmouse_attr_show_##_name); \ | 96 | return psmouse_attr_show_helper(d, b, psmouse_attr_show_##_name); \ |
97 | } \ | 97 | } \ |
98 | static ssize_t psmouse_do_set_##_name(struct device *d, const char *b, size_t s)\ | 98 | static ssize_t psmouse_do_set_##_name(struct device *d, struct device_attribute *attr, const char *b, size_t s)\ |
99 | { \ | 99 | { \ |
100 | return psmouse_attr_set_helper(d, b, s, psmouse_attr_set_##_name); \ | 100 | return psmouse_attr_set_helper(d, b, s, psmouse_attr_set_##_name); \ |
101 | } \ | 101 | } \ |