From david-b@pacbell.net Thu Jun 29 22:27:40 2006 From: Tony Lindgren Subject: USB: Allow compile in g_ether, fix typo Date: Thu, 29 Jun 2006 22:27:36 -0700 To: Greg KH Cc: Tony Lindgren Message-Id: <200606292227.36598.david-b@pacbell.net> From: Tony Lindgren Allows compiling g_ether in and fixes a typo with MUSB_HDRC Signed-off-by: Tony Lindgren Cc: David Brownell Signed-off-by: Greg Kroah-Hartman --- drivers/usb/gadget/ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- gregkh-2.6.orig/drivers/usb/gadget/ether.c +++ gregkh-2.6/drivers/usb/gadget/ether.c @@ -260,7 +260,7 @@ MODULE_PARM_DESC(host_addr, "Host Ethern #define DEV_CONFIG_CDC #endif -#ifdef CONFIG_USB_GADGET_MUSBHDRC +#ifdef CONFIG_USB_GADGET_MUSB_HDRC #define DEV_CONFIG_CDC #endif @@ -2547,7 +2547,7 @@ static struct usb_gadget_driver eth_driv .function = (char *) driver_desc, .bind = eth_bind, - .unbind = __exit_p(eth_unbind), + .unbind = eth_unbind, .setup = eth_setup, .disconnect = eth_disconnect,