Thread (5 messages) 5 messages, 3 authors, 2021-01-27

Re: [PATCH] usb: dwc3: add EXPORT_SYMBOL_GPL for role init functions

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-01-26 12:48:47
Also in: lkml

On Tue, Jan 26, 2021 at 05:49:13PM +0800, Ray Chi wrote:
Currently, role init functions are used in dwc3 driver but
can't be called from kernel modules.
  dwc3_host_init
  dwc3_host_exit
  dwc3_gadget_init
  dwc3_gadget_exit
  dwc3_event_buffers_setup
  dwc3_event_buffers_cleanup

If other kernel modules want to use these functions, it needs
EXPORT_SYMBOL_GPL() to get compile pass.

Signed-off-by: Ray Chi <redacted>
What current kernel configuration fails without this patch applied?  I
don't see any in-tree users of this as a module that would break, or am
I missing something?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help