summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/mass_storage.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-09-06 20:11:27 +0200
committerFelipe Balbi <balbi@ti.com>2012-09-10 16:13:03 +0300
commit721e2e91945bc2520d57d795dfe1b502ecec567c (patch)
tree367b0e0de9fabd165fdae6887902c3ae72a81bef /drivers/usb/gadget/mass_storage.c
parentcc2683c318a5bf192b75cd5c343b51009db0cf6c (diff)
downloadlinux-721e2e91945bc2520d57d795dfe1b502ecec567c.tar.gz
linux-721e2e91945bc2520d57d795dfe1b502ecec567c.tar.bz2
linux-721e2e91945bc2520d57d795dfe1b502ecec567c.zip
usb: gadget: libcomposite: move composite.c into libcomposite
This moves composite.c into libcomposite and updates all gadgets. Finally! Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mass_storage.c')
-rw-r--r--drivers/usb/gadget/mass_storage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mass_storage.c b/drivers/usb/gadget/mass_storage.c
index 9eb2be685803..080e577773d5 100644
--- a/drivers/usb/gadget/mass_storage.c
+++ b/drivers/usb/gadget/mass_storage.c
@@ -30,6 +30,7 @@
#include <linux/kernel.h>
#include <linux/usb/ch9.h>
+#include <linux/module.h>
/*-------------------------------------------------------------------------*/
@@ -45,8 +46,6 @@
* the runtime footprint, and giving us at least some parts of what
* a "gcc --combine ... part1.c part2.c part3.c ... " build would.
*/
-
-#include "composite.c"
#include "f_mass_storage.c"
/*-------------------------------------------------------------------------*/