]> git.karo-electronics.de Git - linux-beck.git/commit
HID: roccat: Introduce module hid-roccat-common
authorStefan Achatz <erazor_de@users.sourceforge.net>
Sun, 30 Jan 2011 12:38:23 +0000 (13:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Feb 2011 15:37:27 +0000 (16:37 +0100)
commit5772f63613ce0a6777e82a7e8fb553e49da27719
tree83c066e175d38323bccd4fd511c45dada6ba8ec0
parenta28764ef80dd5aef657f810a9c295ccda421c823
HID: roccat: Introduce module hid-roccat-common

Module hid-roccat-common contains functions used by roccat device driver
modules to reduce code duplication.
At the moment it contains just two wrapper methods for usb_control_msg
that ensure that the buffer used for transfer is dma capable which wasn't
the case before.
The kconfig option is not visible to the user but will be selected by the
device specific drivers.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-roccat-arvo.c
drivers/hid/hid-roccat-common.c [new file with mode: 0644]
drivers/hid/hid-roccat-common.h [new file with mode: 0644]
drivers/hid/hid-roccat-kone.c
drivers/hid/hid-roccat-koneplus.c
drivers/hid/hid-roccat-pyra.c