Re: [PATCH 1/5] usb: add Atmel USBA UDC DT support

2013-05-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:12 Mon 20 May , Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > >-static int __init usba_udc_probe(struct platform_device *pdev) > > >+#ifdef CONFIG_OF > > >+static struct usba_ep * atmel_udc_of_init(struct platform_device *pdev, > > >+ struc

Re: [PATCH 1/5] usb: add Atmel USBA UDC DT support

2013-05-20 Thread Jean-Christophe PLAGNIOL-VILLARD
> > > >-static int __init usba_udc_probe(struct platform_device *pdev) > >+#ifdef CONFIG_OF > >+static struct usba_ep * atmel_udc_of_init(struct platform_device *pdev, > >+struct usba_udc *udc) > >+{ > >+u32 val; > >+const char *name; > >+

Re: [PATCH 1/5] usb: add Atmel USBA UDC DT support

2013-05-19 Thread Bo Shen
Hi Jean-Christophe, On 5/17/2013 22:42, Jean-Christophe PLAGNIOL-VILLARD wrote: Allow to compile the driver all the time if AT91 enabled. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nicolas Ferre Cc: linux-usb@vger.kernel.org --- .../devicetree/bindings/usb/atmel-usb.txt |