diff options
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 325bf7cfb83f..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 | ||
@@ -292,7 +292,7 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address"); | |||
292 | #define DEV_CONFIG_SUBSET | 292 | #define DEV_CONFIG_SUBSET |
293 | #endif | 293 | #endif |
294 | 294 | ||
295 | #ifdef CONFIG_USB_GADGET_SH | 295 | #ifdef CONFIG_USB_GADGET_SUPERH |
296 | #define DEV_CONFIG_SUBSET | 296 | #define DEV_CONFIG_SUBSET |
297 | #endif | 297 | #endif |
298 | 298 | ||
@@ -301,6 +301,10 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address"); | |||
301 | #define DEV_CONFIG_SUBSET | 301 | #define DEV_CONFIG_SUBSET |
302 | #endif | 302 | #endif |
303 | 303 | ||
304 | #ifdef CONFIG_USB_GADGET_M66592 | ||
305 | #define DEV_CONFIG_CDC | ||
306 | #endif | ||
307 | |||
304 | 308 | ||
305 | /*-------------------------------------------------------------------------*/ | 309 | /*-------------------------------------------------------------------------*/ |
306 | 310 | ||