usb: gadget: libcomposite: move composite.c into libcomposite
[deliverable/linux.git] / drivers / usb / gadget / printer.c
index 9bd994203d3d1f4b9f6cb9483f4f5db7d7d8ea65..e394050afd02aa002df2ecf7fad2323c58610073 100644 (file)
 #include <asm/unaligned.h>
 
 #include <linux/usb/ch9.h>
+#include <linux/usb/composite.h>
 #include <linux/usb/gadget.h>
 #include <linux/usb/g_printer.h>
 
 #include "gadget_chips.h"
 
-
-/*
- * Kbuild is not very cooperative with respect to linking separately
- * compiled library objects into one module.  So for now we won't use
- * separate compilation ... ensuring init/exit sections work to shrink
- * 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"
-
-/*-------------------------------------------------------------------------*/
 USB_GADGET_COMPOSITE_OPTIONS();
 
 #define DRIVER_DESC            "Printer Gadget"
This page took 0.025011 seconds and 5 git commands to generate.