USB: gadget: composite: fix compile issues
authorVikram Pandita <vikram.pandita@ti.com>
Tue, 8 Feb 2011 05:20:50 +0000 (21:20 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:52 +0000 (09:09 -0700)
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>
drivers/usb/gadget/composite.c

index 75dd00038df524ec9764ae045c701353cf17f425..42a948e49323e049ec247ea8df05d3bde2abfa22 100644 (file)
@@ -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>