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 /c03.patch | |
| parent | 08ba5e5e533732546b64764231406dd6151342c1 (diff) | |
| download | patches-e7d7dc0e0e7ab68f1845e11b7574d83ac8015e0e.tar.gz | |
lots of patches and fixes added and made
Diffstat (limited to 'c03.patch')
| -rw-r--r-- | c03.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/c03.patch b/c03.patch new file mode 100644 index 00000000000000..a5b910760d944a --- /dev/null +++ b/c03.patch @@ -0,0 +1,30 @@ +--- + drivers/uwb/driver.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +--- a/drivers/uwb/driver.c ++++ b/drivers/uwb/driver.c +@@ -94,17 +94,18 @@ ssize_t beacon_timeout_ms_store(struct c + beacon_timeout_ms = bt; + return size; + } ++static CLASS_ATTR_RW(beacon_timeout_ms); + +-static struct class_attribute uwb_class_attrs[] = { +- __ATTR(beacon_timeout_ms, S_IWUSR | S_IRUGO, +- beacon_timeout_ms_show, beacon_timeout_ms_store), +- __ATTR_NULL, ++static struct attribute *uwb_class_attrs[] = { ++ &class_attr_beacon_timeout_ms.attr, ++ NULL, + }; ++ATTRIBUTE_GROUPS(uwb_class); + + /** Device model classes */ + struct class uwb_rc_class = { + .name = "uwb_rc", +- .class_attrs = uwb_class_attrs, ++ .class_groups = uwb_class_groups, + }; + + |
