From: Håvard Skinnemoen Date: Mon, 27 Feb 2006 17:15:04 +0000 (+0100) Subject: USB: usb ethernet gadget recognizes HUSB2DEV X-Git-Tag: v2.6.21-rc2~42^2~9^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef3ff462a31987629c4d0488550fbbb66fbfcc35;p=platform%2Fupstream%2Fkernel-adaptation-pc.git USB: usb ethernet gadget recognizes HUSB2DEV Define DEV_CONFIG_CDC when compiling for HUSB2DEV. From: Håvard Skinnemoen Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 72e2b65..22e3c94 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -279,6 +279,10 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address"); #define DEV_CONFIG_CDC #endif +#ifdef CONFIG_USB_GADGET_HUSB2DEV +#define DEV_CONFIG_CDC +#endif + /* For CDC-incapable hardware, choose the simple cdc subset. * Anything that talks bulk (without notable bugs) can do this.