diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-11-20 16:30:14 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-11-20 16:30:14 +0100 |
commit | cc22d3d969367d76cebc0b3244bf8d00c364a56d (patch) | |
tree | 4585d8c53803beb7fac40792430aabac34470a1e /drivers/usb | |
parent | 56300deb07f35b071ad68c4e87a46c04f8e505b5 (diff) |
colibri_t20: USB: fix building device controller driver as module
Trying to build USB device controller driver as a module failed as
follows:
ERROR: "g_usb_high_speed" [drivers/usb/gadget/tegra_udc.ko] undefined!
This is due to a missing export of above mentioned global variable.
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index f183349fd8d1..13d96d3b1320 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -68,6 +68,7 @@ static int __init enable_usb_high_speed(char *s) return 0; } __setup("usb_high_speed=", enable_usb_high_speed); +EXPORT_SYMBOL_GPL(g_usb_high_speed); #endif /* CONFIG_MACH_COLIBRI_T20 */ static void free_align_buffer(struct urb *urb) |