diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-05-03 16:22:57 +0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-05-24 03:14:45 +0400 |
commit | 4a3ae9324ebeb9715369d2bca799bfd7dcff6dd7 (patch) | |
tree | 9c704f18b2b581f5bc0e04abc6c60861c7b05a60 /drivers/usb/gadget/atmel_usba_udc.h | |
parent | e8f2ea39327a1f76aa9f0c606812eb0b154b8e45 (diff) | |
download | linux-4a3ae9324ebeb9715369d2bca799bfd7dcff6dd7.tar.xz |
USB: gadget: atmel_usba: add DT support
Allow to compile the driver all the time if AT91 enabled.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'drivers/usb/gadget/atmel_usba_udc.h')
-rw-r--r-- | drivers/usb/gadget/atmel_usba_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.h b/drivers/usb/gadget/atmel_usba_udc.h index 08419867013f..2922db50befe 100644 --- a/drivers/usb/gadget/atmel_usba_udc.h +++ b/drivers/usb/gadget/atmel_usba_udc.h @@ -317,6 +317,7 @@ struct usba_udc { int irq; int vbus_pin; int vbus_pin_inverted; + int num_ep; struct clk *pclk; struct clk *hclk; struct usba_ep *usba_ep; |