diff options
author | Tom Rini <trini@konsulko.com> | 2017-01-17 15:26:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-17 15:26:03 (GMT) |
commit | 373ae16c9282cf6dfb39cd6e1b8ad26098635ca2 (patch) | |
tree | c563331cc0b91eaefe5985ae0f560add51b79d93 /drivers/usb/gadget/ether.c | |
parent | f253f2933b7373556329c0174dd5b101039a4056 (diff) | |
parent | 65c389d27902f6376bd057609b66b7339b219cf1 (diff) | |
download | u-boot-fsl-qoriq-373ae16c9282cf6dfb39cd6e1b8ad26098635ca2.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index f1b0709..4137d76 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -507,6 +507,7 @@ static const struct usb_cdc_mdlm_desc mdlm_desc = { * can't really use its struct. All we do here is say that we're using * the submode of "SAFE" which directly matches the CDC Subset. */ +#ifdef CONFIG_USB_ETH_SUBSET static const u8 mdlm_detail_desc[] = { 6, USB_DT_CS_INTERFACE, @@ -516,6 +517,7 @@ static const u8 mdlm_detail_desc[] = { 0, /* network control capabilities (none) */ 0, /* network data capabilities ("raw" encapsulation) */ }; +#endif #endif |