USB: Allow compile in g_ether, fix typo
Allows compiling g_ether in and fixes a typo with MUSB_HDRC Signed-off-by: Tony Lindgren <tony@atomide.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b2bbb20b37
commit
bfb2c965d6
@@ -262,7 +262,7 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address");
|
|||||||
#define DEV_CONFIG_CDC
|
#define DEV_CONFIG_CDC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_USB_GADGET_MUSBHDRC
|
#ifdef CONFIG_USB_GADGET_MUSB_HDRC
|
||||||
#define DEV_CONFIG_CDC
|
#define DEV_CONFIG_CDC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -2564,7 +2564,7 @@ static struct usb_gadget_driver eth_driver = {
|
|||||||
|
|
||||||
.function = (char *) driver_desc,
|
.function = (char *) driver_desc,
|
||||||
.bind = eth_bind,
|
.bind = eth_bind,
|
||||||
.unbind = __exit_p(eth_unbind),
|
.unbind = eth_unbind,
|
||||||
|
|
||||||
.setup = eth_setup,
|
.setup = eth_setup,
|
||||||
.disconnect = eth_disconnect,
|
.disconnect = eth_disconnect,
|
||||||
|
Reference in New Issue
Block a user