Re: [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

From: Alexandre Belloni
Date: Tue Mar 03 2015 - 04:41:46 EST


On 03/03/2015 at 09:26:20 +0100, Boris Brezillon wrote :
> > config USB_ATMEL_USBA
> > tristate "Atmel USBA"
> > - depends on AVR32 || ARCH_AT91
> > + depends on AVR32 || ARCH_AT91 && COMMON_CLK_AT91
>
> I guess you should add parenthesis to make it clearer ?
>
> depends on AVR32 || (ARCH_AT91 && COMMON_CLK_AT91)
>
> And I wonder why you need that. I though this option was selected by all
> at91 platforms ?
>

That is currently the case but maybe, one day, one of the AT91 platform
will not use the same clock driver.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/