diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-01-30 07:38:23 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-03 10:37:27 -0500 |
commit | 5772f63613ce0a6777e82a7e8fb553e49da27719 (patch) | |
tree | 83c066e175d38323bccd4fd511c45dada6ba8ec0 /drivers/hid/Kconfig | |
parent | a28764ef80dd5aef657f810a9c295ccda421c823 (diff) |
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>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 539865a07546..795236963066 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -417,10 +417,14 @@ config HID_ROCCAT | |||
417 | Say Y here if you have a Roccat mouse or keyboard and want OSD or | 417 | Say Y here if you have a Roccat mouse or keyboard and want OSD or |
418 | macro execution support. | 418 | macro execution support. |
419 | 419 | ||
420 | config HID_ROCCAT_COMMON | ||
421 | tristate | ||
422 | |||
420 | config HID_ROCCAT_ARVO | 423 | config HID_ROCCAT_ARVO |
421 | tristate "Roccat Arvo keyboard support" | 424 | tristate "Roccat Arvo keyboard support" |
422 | depends on USB_HID | 425 | depends on USB_HID |
423 | select HID_ROCCAT | 426 | select HID_ROCCAT |
427 | select HID_ROCCAT_COMMON | ||
424 | ---help--- | 428 | ---help--- |
425 | Support for Roccat Arvo keyboard. | 429 | Support for Roccat Arvo keyboard. |
426 | 430 | ||
@@ -428,6 +432,7 @@ config HID_ROCCAT_KONE | |||
428 | tristate "Roccat Kone Mouse support" | 432 | tristate "Roccat Kone Mouse support" |
429 | depends on USB_HID | 433 | depends on USB_HID |
430 | select HID_ROCCAT | 434 | select HID_ROCCAT |
435 | select HID_ROCCAT_COMMON | ||
431 | ---help--- | 436 | ---help--- |
432 | Support for Roccat Kone mouse. | 437 | Support for Roccat Kone mouse. |
433 | 438 | ||
@@ -435,6 +440,7 @@ config HID_ROCCAT_KONEPLUS | |||
435 | tristate "Roccat Kone[+] mouse support" | 440 | tristate "Roccat Kone[+] mouse support" |
436 | depends on USB_HID | 441 | depends on USB_HID |
437 | select HID_ROCCAT | 442 | select HID_ROCCAT |
443 | select HID_ROCCAT_COMMON | ||
438 | ---help--- | 444 | ---help--- |
439 | Support for Roccat Kone[+] mouse. | 445 | Support for Roccat Kone[+] mouse. |
440 | 446 | ||
@@ -442,6 +448,7 @@ config HID_ROCCAT_PYRA | |||
442 | tristate "Roccat Pyra mouse support" | 448 | tristate "Roccat Pyra mouse support" |
443 | depends on USB_HID | 449 | depends on USB_HID |
444 | select HID_ROCCAT | 450 | select HID_ROCCAT |
451 | select HID_ROCCAT_COMMON | ||
445 | ---help--- | 452 | ---help--- |
446 | Support for Roccat Pyra mouse. | 453 | Support for Roccat Pyra mouse. |
447 | 454 | ||