summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/config.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/config.c
parent41b1f0ac2e4c1d54807f90ae9aa2f2fad22a5151 (diff)
downloadu-boot-b9300531c138f80b12981a0e7dac3770fe1dbcdd.tar.gz
u-boot-b9300531c138f80b12981a0e7dac3770fe1dbcdd.tar.xz
u-boot-b9300531c138f80b12981a0e7dac3770fe1dbcdd.zip
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/config.c')
-rw-r--r--drivers/usb/gadget/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c
index f9163a80ed..f88d0c190c 100644
--- a/drivers/usb/gadget/config.c
+++ b/drivers/usb/gadget/config.c
@@ -27,6 +27,7 @@
#include <linux/string.h>
#include <linux/usb/ch9.h>
+#include <usbdescriptors.h>
#include <linux/usb/gadget.h>