On 08/23/2012 03:10 PM, Michal Nazarewicz wrote:
Sebastian Andrzej Siewior<bige...@linutronix.de>  writes:
This moves config.c into libcomposite and updates all gadgets.

Signed-off-by: Sebastian Andrzej Siewior<bige...@linutronix.de>

Acked-by: Michal Nazarewicz<min...@mina86.com>

btw: thank you for those acks, I'm going to pick them up unless I make
changes to paches…

diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c
index 7542a72..e3a9892 100644
--- a/drivers/usb/gadget/config.c
+++ b/drivers/usb/gadget/config.c
@@ -12,6 +12,7 @@
  #include<linux/errno.h>
  #include<linux/slab.h>
  #include<linux/kernel.h>
+#include<linux/module.h>
  #include<linux/list.h>
  #include<linux/string.h>
  #include<linux/device.h>
@@ -53,7 +54,7 @@ usb_descriptor_fillbuf(void *buf, unsigned buflen,
        }
        return dest - (u8 *)buf;
  }
-
+EXPORT_SYMBOL_GPL(usb_descriptor_fillbuf);

Interestingly, this is only used in composite.c and config.c, so maybe
in the end we would be able to drop this EXPORT_SYMBOL?

Sure, why not.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to