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

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2012-06-05 19:20:57 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/06/8919639
- Thread: https://ratatoskr.run/linux-input/2012/05/8919535/t.md

```text
On Tuesday, June 05, 2012 03:55:31 PM devendra.aaru wrote:
> Hi Jiri,
> 
> Thanks for the review.
> 
> On Tue, Jun 5, 2012 at 3:11 PM, Jiri Kosina [ref] wrote:
> >> 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
> > 
> > Depending on USB_ARCH_HAS_HCD and then having it as a part of 'if'
> > condition seems odd.
> 
> So,
> +    depends on USB_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.


-- 
Dmitry
```
