# \[PATCH\] drivers/input/mouse: Fix a "make randconfig" warning at MOUSE\_APPLETOUCH dependency with USB\_SUPPORT and USB\_ARCH\_HAS\_HCD

- From: Devendra Naga \<hidden\>
- Date: 2012-05-14 23:15:38 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/05/8919535
- Thread: https://ratatoskr.run/linux-input/2012/05/8919535/t.md

```text
From: Devendra Naga <<redacted>(none)>

when ran make randconfig got the warning

"MOUSE_APPLETOUCH selects USB which has unmet direct dependencies (USB_SUPPORT && USB_ARCH_HAS_HCD)"

Signed-off-by: Devendra Naga <redacted>
---
 drivers/input/mouse/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index cd6268c..044378f 100644
--- a/drivers/input/mouse/Kconfig
+++ b/drivers/input/mouse/Kconfig
@@ -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.
 
-- 
1.7.9.5

```
