diff mbox

[1/2] HID: ACRUX - fix enabling force feedback support

Message ID 1312442757-31241-1-git-send-email-dmitry.torokhov@gmail.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Dmitry Torokhov Aug. 4, 2011, 7:25 a.m. UTC
From: Sergei Kolzun <x0r@dv-life.ru>

The config option needs to be a 'bool' and not a tristate, otheriwse
force feedback support never makes it into the module.

Signed-off-by: Sergei Kolzun <x0r@dv-life.ru>
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
 drivers/hid/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Jiri Kosina Aug. 4, 2011, 1:26 p.m. UTC | #1
On Thu, 4 Aug 2011, Dmitry Torokhov wrote:

> From: Sergei Kolzun <x0r@dv-life.ru>
> 
> The config option needs to be a 'bool' and not a tristate, otheriwse
> force feedback support never makes it into the module.
> 
> Signed-off-by: Sergei Kolzun <x0r@dv-life.ru>
> Cc: stable@kernel.org
> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> ---
>  drivers/hid/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index 36ca465..a1f3c0d 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
> @@ -69,7 +69,7 @@ config HID_ACRUX
>  	Say Y here if you want to enable support for ACRUX game controllers.
>  
>  config HID_ACRUX_FF
> -	tristate "ACRUX force feedback support"
> +	bool "ACRUX force feedback support"
>  	depends on HID_ACRUX
>  	select INPUT_FF_MEMLESS
>  	---help---

I have applied both patches, thanks Dmitry and Sergei!
diff mbox

Patch

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 36ca465..a1f3c0d 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -69,7 +69,7 @@  config HID_ACRUX
 	Say Y here if you want to enable support for ACRUX game controllers.
 
 config HID_ACRUX_FF
-	tristate "ACRUX force feedback support"
+	bool "ACRUX force feedback support"
 	depends on HID_ACRUX
 	select INPUT_FF_MEMLESS
 	---help---