diff options
author | Tony Lindgren <tony@atomide.com> | 2006-06-30 01:27:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:48 -0400 |
commit | bfb2c965d669045b7629fd577b7834c87c2dfd54 (patch) | |
tree | b438384f72e80f769c6f98e1ecfb5b502f396a69 /drivers/usb/gadget/ether.c | |
parent | b2bbb20b37d734443d1c279d0033a64f6095db54 (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 30299c620d97..fed484da593c 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -262,7 +262,7 @@ MODULE_PARM_DESC(host_addr, "Host Ethernet Address"); | |||
262 | #define DEV_CONFIG_CDC | 262 | #define DEV_CONFIG_CDC |
263 | #endif | 263 | #endif |
264 | 264 | ||
265 | #ifdef CONFIG_USB_GADGET_MUSBHDRC | 265 | #ifdef CONFIG_USB_GADGET_MUSB_HDRC |
266 | #define DEV_CONFIG_CDC | 266 | #define DEV_CONFIG_CDC |
267 | #endif | 267 | #endif |
268 | 268 | ||
@@ -2564,7 +2564,7 @@ static struct usb_gadget_driver eth_driver = { | |||
2564 | 2564 | ||
2565 | .function = (char *) driver_desc, | 2565 | .function = (char *) driver_desc, |
2566 | .bind = eth_bind, | 2566 | .bind = eth_bind, |
2567 | .unbind = __exit_p(eth_unbind), | 2567 | .unbind = eth_unbind, |
2568 | 2568 | ||
2569 | .setup = eth_setup, | 2569 | .setup = eth_setup, |
2570 | .disconnect = eth_disconnect, | 2570 | .disconnect = eth_disconnect, |