aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysdev.h')
-rw-r--r--include/linux/sysdev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h
index f395bb3fa2f2..c2458fa8376c 100644
--- a/include/linux/sysdev.h
+++ b/include/linux/sysdev.h
@@ -41,8 +41,10 @@ struct sysdev_class {
41 41
42struct sysdev_class_attribute { 42struct sysdev_class_attribute {
43 struct attribute attr; 43 struct attribute attr;
44 ssize_t (*show)(struct sysdev_class *, char *); 44 ssize_t (*show)(struct sysdev_class *, struct sysdev_class_attribute *,
45 ssize_t (*store)(struct sysdev_class *, const char *, size_t); 45 char *);
46 ssize_t (*store)(struct sysdev_class *, struct sysdev_class_attribute *,
47 const char *, size_t);
46}; 48};
47 49
48#define _SYSDEV_CLASS_ATTR(_name,_mode,_show,_store) \ 50#define _SYSDEV_CLASS_ATTR(_name,_mode,_show,_store) \