drivers/input/mouse: Fix a "make randconfig" warning at MOUSE_APPLETOUCH dependency with USB_SUPPORT and USB_ARCH_HAS_HCD
Subsystems (2)
PATCH 1/1 drivers/input/mouse: Fix a "make randconfig" warning at MOUSE_APPLETOUCH dependency with USB_SUPPORT and USB_ARCH_HAS_HCD
From: Devendra Naga <devendra@devendra.(none)>
when ran make randconfig got the warning
"MOUSE_APPLETOUCH selects USB which has unmet direct dependencies (USB_SUPPORT && USB_ARCH_HAS_HCD)"
--- drivers/input/mouse/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/mouse/Kconfig +1 -1
@@ -152,7 +152,7 @@ config MOUSE_SERIAL config MOUSE_APPLETOUCH tristate "Apple USB Touchpad support" depends on USB_ARCH_HAS_HCD - select USB + select USB if USB_SUPPORT && USB_ARCH_HAS_HCD help Say Y here if you want to use an Apple USB Touchpad.
Signature · 1 line
1.7.9.5
Quoted 16 lines · Devendra Naga
From: Devendra Naga <devendra@devendra.(none)>
when ran make randconfig got the warning
"
MOUSE_APPLETOUCHselects USB which has unmet direct dependencies (USB_SUPPORT&&USB_ARCH_HAS_HCD)"Signed-off-by Devendra Naga <[email protected]>--- drivers/input/mouse/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/input/mouse/Kconfig +0
-0
drivers/input/mouse/Kconfig config MOUSE_SERIAL · line 155
Quoted 5 lines
drivers/input/mouse/Kconfig +1
-1@@ -152,7 +152,7 @@ config MOUSE_SERIAL config MOUSE_APPLETOUCH tristate "Apple USB Touchpad support" depends on USB_ARCH_HAS_HCD - select USB + select USB if USB_SUPPORT && USB_ARCH_HAS_HCD
Depending on USB_ARCH_HAS_HCD and then having it as a part of 'if' condition seems odd.
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
Hi Jiri,
Thanks for the review.
Quoted 5 lines · Jiri Kosina
Quoted 5 lines
drivers/input/mouse/Kconfig +0
-0@@ -152,7 +152,7 @@ config MOUSE_SERIAL
Quoted 9 lines
Quoted 5 lines
config
MOUSE_APPLETOUCH
tristate "Apple USB Touchpad support" depends onUSB_ARCH_HAS_HCD
- select USB
+ select USB ifUSB_SUPPORT&&USB_ARCH_HAS_HCDDepending on
USB_ARCH_HAS_HCDand then having it as a part of 'if' condition seems odd.
So,
+ depends on USB_SUPPORT && USB_ARCH_HAS_HCD
will be good ?
Quoted 5 lines
Thanks,
--
Jiri Kosina
SUSE Labs
Thanks,
Devendra.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Dmitry Torokhov
maintainerQuoted 19 lines · devendra.aaru
Hi Jiri,
Thanks for the review.
Quoted 5 lines · Jiri Kosina
Quoted 5 lines
drivers/input/mouse/Kconfig +0
-0@@ -152,7 +152,7 @@ config MOUSE_SERIALQuoted 8 lines
drivers/input/mouse/Kconfig config MOUSE_SERIAL · line 155
Quoted 5 lines
drivers/input/mouse/Kconfig +1
-1config MOUSE_APPLETOUCH tristate "Apple USB Touchpad support" depends on USB_ARCH_HAS_HCD - select USB + select USB if USB_SUPPORT && USB_ARCH_HAS_HCDDepending on
USB_ARCH_HAS_HCDand then having it as a part of 'if' condition seems odd.
Quoted 3 lines
So,
+ depends onUSB_SUPPORT&&USB_ARCH_HAS_HCD
will be good ?
I'd rather we "select"ed the new symbol. So please do
depends on USB_ARCH_HAS_HCD
select USB
+ select USB_SUPPORT
Thanks.
Signature · 1 line
Dmitry
Hello Dimitry,
Quoted 11 lines · Dmitry Torokhov
I'd rather we "select"ed the new symbol. So please do
depends on
USB_ARCH_HAS_HCD
select USB
+ selectUSB_SUPPORTThanks.
--
with your change told, i ran make and got the following error when compiling it.
devendra@devendra:~/linux$ make scripts/kconfig/conf --silentoldconfig Kconfig drivers/usb/Kconfig:76:error: recursive dependency detected! drivers/usb/Kconfig:76: symbol USB_ARCH_HAS_HCD depends on USB_SUPPORT drivers/usb/Kconfig:58: symbol USB_SUPPORT is selected by MOUSE_APPLETOUCH drivers/input/mouse/Kconfig:152: symbol MOUSE_APPLETOUCH depends on USB_ARCH_HAS_HCD
It seems that USB_ARCH_HAS_HCD needs to be selected? too.
Quoted 1 line
Dmitry
may i attach .config?
Thanks,
Devendra
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html