aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/ether.c2
-rw-r--r--drivers/usb/gadget/gadget_chips.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 78e2402e7b2c..dbaf867436df 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -277,7 +277,7 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address");
277#define DEV_CONFIG_CDC 277#define DEV_CONFIG_CDC
278#endif 278#endif
279 279
280#ifdef CONFIG_USB_GADGET_HUSB2DEV 280#ifdef CONFIG_USB_GADGET_ATMEL_USBA
281#define DEV_CONFIG_CDC 281#define DEV_CONFIG_CDC
282#endif 282#endif
283 283
diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h
index 9c84b385ca88..53e9139ba388 100644
--- a/drivers/usb/gadget/gadget_chips.h
+++ b/drivers/usb/gadget/gadget_chips.h
@@ -82,10 +82,10 @@
82#define gadget_is_pxa27x(g) 0 82#define gadget_is_pxa27x(g) 0
83#endif 83#endif
84 84
85#ifdef CONFIG_USB_GADGET_HUSB2DEV 85#ifdef CONFIG_USB_GADGET_ATMEL_USBA
86#define gadget_is_husb2dev(g) !strcmp("husb2_udc", (g)->name) 86#define gadget_is_atmel_usba(g) !strcmp("atmel_usba_udc", (g)->name)
87#else 87#else
88#define gadget_is_husb2dev(g) 0 88#define gadget_is_atmel_usba(g) 0
89#endif 89#endif
90 90
91#ifdef CONFIG_USB_GADGET_S3C2410 91#ifdef CONFIG_USB_GADGET_S3C2410
@@ -198,7 +198,7 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
198 return 0x16; 198 return 0x16;
199 else if (gadget_is_mpc8272(gadget)) 199 else if (gadget_is_mpc8272(gadget))
200 return 0x17; 200 return 0x17;
201 else if (gadget_is_husb2dev(gadget)) 201 else if (gadget_is_atmel_usba(gadget))
202 return 0x18; 202 return 0x18;
203 else if (gadget_is_fsl_usb2(gadget)) 203 else if (gadget_is_fsl_usb2(gadget))
204 return 0x19; 204 return 0x19;