summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-isku.c
diff options
context:
space:
mode:
authorStefan Achatz <stefan_achatz@web.de>2012-11-11 06:21:06 +0100
committerJiri Kosina <jkosina@suse.cz>2012-11-12 15:30:27 +0100
commitf1da71e1f658c3f1e5d08291258ac87c35e049a4 (patch)
tree8c6ef6fd54f1e5ce5e7a17ab14d9dc9bf0f634ec /drivers/hid/hid-roccat-isku.c
parent6e5920ddbbc114d9f7864b14a8db42e714a8b99f (diff)
downloadlinux-f1da71e1f658c3f1e5d08291258ac87c35e049a4.tar.gz
linux-f1da71e1f658c3f1e5d08291258ac87c35e049a4.tar.bz2
linux-f1da71e1f658c3f1e5d08291258ac87c35e049a4.zip
HID: roccat: add sysfs attr "reset" for Isku
Isku needs an extra sysfs attr to support device reset. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-roccat-isku.c')
-rw-r--r--drivers/hid/hid-roccat-isku.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-isku.c b/drivers/hid/hid-roccat-isku.c
index 020d6cda8975..1219998a02d6 100644
--- a/drivers/hid/hid-roccat-isku.c
+++ b/drivers/hid/hid-roccat-isku.c
@@ -218,6 +218,7 @@ ISKU_SYSFS_RW(last_set, LAST_SET)
ISKU_SYSFS_W(talk, TALK)
ISKU_SYSFS_R(info, INFO)
ISKU_SYSFS_W(control, CONTROL)
+ISKU_SYSFS_W(reset, RESET)
static struct bin_attribute isku_bin_attributes[] = {
ISKU_BIN_ATTR_RW(macro, MACRO),
@@ -233,6 +234,7 @@ static struct bin_attribute isku_bin_attributes[] = {
ISKU_BIN_ATTR_W(talk, TALK),
ISKU_BIN_ATTR_R(info, INFO),
ISKU_BIN_ATTR_W(control, CONTROL),
+ ISKU_BIN_ATTR_W(reset, RESET),
__ATTR_NULL
};