aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-06-15 14:10:37 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 17:31:05 -0400
commite9c23a255a33cf423336b7cba39b2b6dcc83a6bc (patch)
tree62e1233dd7dfab173b745530e2c3fba8e327ddba /include
parent199e7edbb1b32d237ade354fee24eef5e2cbeb18 (diff)
usb: gadget: add missing #include's
When #include'd alone, <linux/usb/gadget.h> causes a lot of compilation errors and warnings -- all because it relies on the including code to bring in the necessary #include's instead of doing this itself. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/gadget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index e22ce7e5a444..afb67d997f0c 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -15,7 +15,12 @@
15#ifndef __LINUX_USB_GADGET_H 15#ifndef __LINUX_USB_GADGET_H
16#define __LINUX_USB_GADGET_H 16#define __LINUX_USB_GADGET_H
17 17
18#include <linux/device.h>
19#include <linux/errno.h>
20#include <linux/init.h>
21#include <linux/list.h>
18#include <linux/slab.h> 22#include <linux/slab.h>
23#include <linux/types.h>
19#include <linux/usb/ch9.h> 24#include <linux/usb/ch9.h>
20 25
21struct usb_ep; 26struct usb_ep;