Is it possible to load usb gadget mass storage driver as module(.ko)

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

 



Hi,

I am working on USB 3.0 mass storage gadget driver.

I am facing some build errors when i am trying to build my gadget
driver as module

(its in path kernel/drivers/staging/...)

 LD      .tmp_vmlinux1
drivers/built-in.o: In function `usb_composite_unregister':

/media/work/rev_295/kernel/drivers/usb/gadget/composite.c:1406:
undefined reference to `usb_gadget_unregister_driver'

drivers/built-in.o: In function `usb_composite_probe':

/media/work/rev_295/kernel/drivers/usb/gadget/composite.c:1386:
undefined reference to `usb_gadget_probe_driver'

make[2]: *** [.tmp_vmlinux1] Error 1
usb_gadget_unregister_driver and usb_gadget_probe_driver functions are
exported (EXPORT_SYMBOL)from my gadget driver ((its in path
kernel/drivers/staging...))

and this functions are called from /usb/gadget/composite.c

this file.


Kindly let me know how can is solve this issue.


Thanks and regards
--
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