summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/ether.c
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2012-05-02 13:11:34 +0200
committerMarek Vasut <marex@denx.de>2012-05-20 08:32:32 +0200
commitb9300531c138f80b12981a0e7dac3770fe1dbcdd (patch)
treed9f05e794f2c683343d08c9fbedf53f09f37e2c2 /drivers/usb/gadget/ether.c
parent41b1f0ac2e4c1d54807f90ae9aa2f2fad22a5151 (diff)
downloadu-boot-imx-b9300531c138f80b12981a0e7dac3770fe1dbcdd.zip
u-boot-imx-b9300531c138f80b12981a0e7dac3770fe1dbcdd.tar.gz
u-boot-imx-b9300531c138f80b12981a0e7dac3770fe1dbcdd.tar.bz2
usb:udc: Remove duplicated USB definitions from include/linux/usb/ch9.h file
Remove the repeated USB descriptor code and use usbdescriptors.h file. ch9.h file has been copied from linux and is needed for USB gadget related work. Now usbdescriptors.h and ch9.h shall be used together. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r--drivers/usb/gadget/ether.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 9fb0e80..f693fea 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -24,6 +24,7 @@
#include <asm/errno.h>
#include <linux/netdevice.h>
#include <linux/usb/ch9.h>
+#include <usbdescriptors.h>
#include <linux/usb/cdc.h>
#include <linux/usb/gadget.h>
#include <net.h>