diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-03-14 16:43:07 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-03-15 10:41:20 -0400 |
commit | 61c29f5b1856f90bf0a87d83cfa035a11986d2c5 (patch) | |
tree | efcc1464921afdb3f18dac22ff819ef495f5bcd1 /drivers/hid | |
parent | 759ae89a6e29472cde17b80778a690430252049a (diff) |
HID: roccat-koneplus: vorrect mode of sysfs attr 'sensor'
Mode of sysfs attribute 'sensor' was wrongly set to writeonly.
Corrected this to readwrite.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-roccat-koneplus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c index a8e2117756ac..33eec74e0615 100644 --- a/drivers/hid/hid-roccat-koneplus.c +++ b/drivers/hid/hid-roccat-koneplus.c | |||
@@ -460,7 +460,7 @@ static struct device_attribute koneplus_attributes[] = { | |||
460 | 460 | ||
461 | static struct bin_attribute koneplus_bin_attributes[] = { | 461 | static struct bin_attribute koneplus_bin_attributes[] = { |
462 | { | 462 | { |
463 | .attr = { .name = "sensor", .mode = 0220 }, | 463 | .attr = { .name = "sensor", .mode = 0660 }, |
464 | .size = sizeof(struct koneplus_sensor), | 464 | .size = sizeof(struct koneplus_sensor), |
465 | .read = koneplus_sysfs_read_sensor, | 465 | .read = koneplus_sysfs_read_sensor, |
466 | .write = koneplus_sysfs_write_sensor | 466 | .write = koneplus_sysfs_write_sensor |