Re: [PATCH 2/9] usb/libcomposite: move config.c into libcomposite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sebastian Andrzej Siewior<bigeasy@xxxxxxxxxxxxx>

Acked-by: Michal Nazarewicz<mina86@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux