diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2011-02-07 21:20:50 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:52 -0700 |
commit | 8abaec8e7848c632fe6efd1bf661e66ea5c2dc79 (patch) | |
tree | ddf30d271459912d169a6f2d5e9040e9333e769e | |
parent | ec3e26868a693dd732e6badfe935d03688ec7314 (diff) | |
download | kernel_samsung_tuna-8abaec8e7848c632fe6efd1bf661e66ea5c2dc79.zip kernel_samsung_tuna-8abaec8e7848c632fe6efd1bf661e66ea5c2dc79.tar.gz kernel_samsung_tuna-8abaec8e7848c632fe6efd1bf661e66ea5c2dc79.tar.bz2 |
USB: gadget: composite: fix compile issues
In file included from drivers/usb/gadget/ether.c:114:
drivers/usb/gadget/composite.c: In function 'usb_composite_force_reset':
drivers/usb/gadget/composite.c:121: error: implicit declaration of function 'msleep'
drivers/usb/gadget/composite.c: In function 'usb_add_function':
drivers/usb/gadget/composite.c:158: error: implicit declaration of function 'MKDEV'
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
-rw-r--r-- | drivers/usb/gadget/composite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 75dd000..42a948e 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -25,7 +25,8 @@ #include <linux/slab.h> #include <linux/device.h> #include <linux/utsname.h> - +#include <linux/delay.h> +#include <linux/kdev_t.h> #include <linux/usb/composite.h> |