projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9df978
)
[PATCH] USB: gadget/ether fixes
author
Ian Campbell
<icampbell@arcom.com>
Wed, 29 Jun 2005 09:15:32 +0000
(10:15 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 12 Jul 2005 18:52:56 +0000
(11:52 -0700)
Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ether.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/ether.c
b/drivers/usb/gadget/ether.c
index 00a5d2566265b8630c15a564cc457e3a1134e157..b5647b50336043f689b44c91334bfa789538c836 100644
(file)
--- a/
drivers/usb/gadget/ether.c
+++ b/
drivers/usb/gadget/ether.c
@@
-2428,7
+2428,7
@@
autoconf_fail:
dev->req->complete = eth_setup_complete;
/* ... and maybe likewise for status transfer */
-#if
def DEV_CONFIG_CDC
+#if
defined(DEV_CONFIG_CDC) || defined(CONFIG_USB_ETH_RNDIS)
if (dev->status_ep) {
dev->stat_req = eth_req_alloc (dev->status_ep,
STATUS_BYTECOUNT, GFP_KERNEL);