diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-22 17:08:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-22 17:08:18 +0100 |
| commit | e7d7dc0e0e7ab68f1845e11b7574d83ac8015e0e (patch) | |
| tree | 72d317ef93f50aa80af2f67c9d109e7ff59413ff /class_wo.patch | |
| parent | 08ba5e5e533732546b64764231406dd6151342c1 (diff) | |
| download | patches-e7d7dc0e0e7ab68f1845e11b7574d83ac8015e0e.tar.gz | |
lots of patches and fixes added and made
Diffstat (limited to 'class_wo.patch')
| -rw-r--r-- | class_wo.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/class_wo.patch b/class_wo.patch new file mode 100644 index 00000000000000..2806ecd1ac660b --- /dev/null +++ b/class_wo.patch @@ -0,0 +1,15 @@ +--- + include/linux/device.h | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/include/linux/device.h ++++ b/include/linux/device.h +@@ -465,6 +465,8 @@ struct class_attribute { + struct class_attribute class_attr_##_name = __ATTR_RW(_name) + #define CLASS_ATTR_RO(_name) \ + struct class_attribute class_attr_##_name = __ATTR_RO(_name) ++#define CLASS_ATTR_WO(_name) \ ++ struct class_attribute class_attr_##_name = __ATTR_WO(_name) + + extern int __must_check class_create_file_ns(struct class *class, + const struct class_attribute *attr, |
