From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755945AbbCCJlm (ORCPT ); Tue, 3 Mar 2015 04:41:42 -0500 Received: from down.free-electrons.com ([37.187.137.238]:36457 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754850AbbCCJlk (ORCPT ); Tue, 3 Mar 2015 04:41:40 -0500 Date: Tue, 3 Mar 2015 10:41:38 +0100 From: Alexandre Belloni To: Boris Brezillon Cc: Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Ferre Subject: Re: [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91 Message-ID: <20150303094138.GC3892@piout.net> References: <1425368567-5333-1-git-send-email-alexandre.belloni@free-electrons.com> <20150303092620.63e1861d@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150303092620.63e1861d@bbrezillon> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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