projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f5b9cc
)
USB: usb ethernet gadget recognizes HUSB2DEV
author
Håvard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 27 Feb 2006 17:15:04 +0000
(18:15 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 7 Feb 2007 23:44:39 +0000
(15:44 -0800)
Define DEV_CONFIG_CDC when compiling for HUSB2DEV.
From: Håvard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
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 72e2b65293c8f220da1dbd1d1d70da883d5aaa77..22e3c9443641a8b83e88a92c32ce43c62f3a58b5 100644
(file)
--- 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.