diff mbox

HID: roccat: Corrected mode of sysfs attr 'sensor' from koneplus driver

Message ID 1300135387.7466.0.camel@neuromancer (mailing list archive)
State Accepted
Commit 61c29f5b1856f90bf0a87d83cfa035a11986d2c5
Headers show

Commit Message

Stefan Achatz March 14, 2011, 8:43 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c
index a8e2117..33eec74 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[] = {
 
 static struct bin_attribute koneplus_bin_attributes[] = {
 	{
-		.attr = { .name = "sensor", .mode = 0220 },
+		.attr = { .name = "sensor", .mode = 0660 },
 		.size = sizeof(struct koneplus_sensor),
 		.read = koneplus_sysfs_read_sensor,
 		.write = koneplus_sysfs_write_sensor