summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2013-09-17 15:58:22 +0200
committerMarek Vasut <marex@denx.de>2013-09-24 17:51:36 +0200
commit69d6cbe748ae13e6b728d2c28616a8c54b07f9c2 (patch)
treea9f6570d4a0fbe92e45906f9242aa1f4f47528c1 /include/linux
parentba4e95c9f0e18ddeff55ef1b94be650d7b653d3f (diff)
downloadu-boot-imx-69d6cbe748ae13e6b728d2c28616a8c54b07f9c2.zip
u-boot-imx-69d6cbe748ae13e6b728d2c28616a8c54b07f9c2.tar.gz
u-boot-imx-69d6cbe748ae13e6b728d2c28616a8c54b07f9c2.tar.bz2
usb:gadget:Remove redundant #includes for USB composite gadget and its functions
Only the <linux/usb/gadget.h> requires error.h include. Hence, several includes of error.h at USB gadget functions are not needed. Moreover unnecessary malloc.h includes were also removed. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/gadget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index 220d068..a8a5763 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -18,6 +18,7 @@
#ifndef __LINUX_USB_GADGET_H
#define __LINUX_USB_GADGET_H
+#include <errno.h>
#include <linux/list.h>
struct usb_ep;