From: Ming Lei <tom.leiming@xxxxxxxxx> Export this functions so that glue drivers can see them if glue drivers are built as modules. Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx> --- drivers/usb/musb/musb_core.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 2bbf911..070725f 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -116,6 +116,7 @@ unsigned musb_debug; +EXPORT_SYMBOL(musb_debug); module_param_named(debug, musb_debug, uint, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(debug, "Debug message level. Default = 0"); @@ -271,6 +272,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) writesb(fifo, src, len); } } +EXPORT_SYMBOL(musb_write_fifo); #if !defined(CONFIG_USB_MUSB_AM35X) /* @@ -310,6 +312,7 @@ void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) readsb(fifo, dst, len); } } +EXPORT_SYMBOL(musb_read_fifo); #endif #endif /* normal PIO */ @@ -368,6 +371,7 @@ const char *otg_state_string(struct musb *musb) default: return "UNDEFINED"; } } +EXPORT_SYMBOL(otg_state_string); #ifdef CONFIG_USB_MUSB_OTG @@ -1654,7 +1658,7 @@ irqreturn_t musb_interrupt(struct musb *musb) return retval; } - +EXPORT_SYMBOL(musb_interrupt); #ifndef CONFIG_MUSB_PIO_ONLY static int __initdata use_dma = 1; @@ -1701,6 +1705,7 @@ void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit) } } } +EXPORT_SYMBOL(musb_dma_completion); #else #define use_dma 0 -- 1.7.3 -- 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