diff options
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 04b9743c1c1f..3d2603e31808 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -253,6 +253,14 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address"); | |||
253 | #define DEV_CONFIG_CDC | 253 | #define DEV_CONFIG_CDC |
254 | #endif | 254 | #endif |
255 | 255 | ||
256 | #ifdef CONFIG_USB_GADGET_MUSBHSFC | ||
257 | #define DEV_CONFIG_CDC | ||
258 | #endif | ||
259 | |||
260 | #ifdef CONFIG_USB_GADGET_MUSBHDRC | ||
261 | #define DEV_CONFIG_CDC | ||
262 | #endif | ||
263 | |||
256 | 264 | ||
257 | /* For CDC-incapable hardware, choose the simple cdc subset. | 265 | /* For CDC-incapable hardware, choose the simple cdc subset. |
258 | * Anything that talks bulk (without notable bugs) can do this. | 266 | * Anything that talks bulk (without notable bugs) can do this. |