[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150114183516.GN3843@piout.net>
Date: Wed, 14 Jan 2015 19:35:16 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Felipe Balbi <balbi@...com>
Cc: Boris Brezillon <boris.brezillon@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Arnd Bergmann <arnd@...db.de>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Subject: Re: [PATCH 08/12] usb: gadget: at91_udc: Remove non-DT handling code
On 14/01/2015 at 11:38:12 -0600, Felipe Balbi wrote :
> On Wed, Jan 14, 2015 at 05:22:00PM +0100, Alexandre Belloni wrote:
> > From: Boris Brezillon <boris.brezillon@...e-electrons.com>
> >
> > Since non-DT board support has been removed from the at91 architecture we
> > can safely remove non-DT handling code.
> >
> > Signed-off-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
> > ---
> > drivers/usb/gadget/udc/Kconfig | 1 +
> > drivers/usb/gadget/udc/at91_udc.c | 16 ++--------------
> > 2 files changed, 3 insertions(+), 14 deletions(-)
> >
> > diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
> > index b8e213eb36cc..366e551aeff0 100644
> > --- a/drivers/usb/gadget/udc/Kconfig
> > +++ b/drivers/usb/gadget/udc/Kconfig
> > @@ -32,6 +32,7 @@ menu "USB Peripheral Controller"
> > config USB_AT91
> > tristate "Atmel AT91 USB Device Port"
> > depends on ARCH_AT91
> > + depends on OF || COMPILE_TEST
>
> will this build with !OF builds ?
>
It should, I'll check but it doesn't matter because it depends on
ARCH_AT91 which selects OF.
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists