Re: [PATCH 4/9] usb/gadget: add epautoconf.c to libcomposite

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

 



On 08/23/2012 03:25 PM, Michal Nazarewicz wrote:
diff --git a/drivers/usb/gadget/audio.c b/drivers/usb/gadget/audio.c
index 9e85df2..689d142 100644
--- a/drivers/usb/gadget/audio.c
+++ b/drivers/usb/gadget/audio.c
@@ -14,6 +14,7 @@
  #include<linux/kernel.h>
  #include<linux/utsname.h>

+#include "gadget_chips.h"

Perhaps we should EXPORT_SYMBOL usb_gadget_controller_number() and
gadget_supports_altsettings() functions from epautoconf.c instead?  The
former does not look like it's something compiler would inline anyway.

Both are static inline. The compile hat to include this function in
code, it has no other choice.

But you are right, the format is getting huge. I will move this
function into composite in a later patch.

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