summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ezusb.c
diff options
context:
space:
mode:
authorPaul Chavent <paul.chavent@free.fr>2008-01-12 15:23:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 14:35:03 -0800
commit7bd4b20c876e5f7aa8e1405657aee9078f896d26 (patch)
tree63a41a61639b3e22a1acc619201a13b66e778abe /drivers/usb/serial/ezusb.c
parentcd930c931417295ac6b4d9fea62accc67192ac34 (diff)
downloadop-kernel-dev-7bd4b20c876e5f7aa8e1405657aee9078f896d26.zip
op-kernel-dev-7bd4b20c876e5f7aa8e1405657aee9078f896d26.tar.gz
USB: usbserial: provide ezusb functions for an external module.
When building an external module, the ezusb_* functions are not defined if we haven't loaded any built'in module that use them (whiteheat, keyspan, ...). This patch allow to build those functions even if we only have selected the usbserial generic driver. Signed-off-by: Paul Chavent <paul.chavent@fnac.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ezusb.c')
-rw-r--r--drivers/usb/serial/ezusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c
index 97ee718..3f698ba 100644
--- a/drivers/usb/serial/ezusb.c
+++ b/drivers/usb/serial/ezusb.c
@@ -53,6 +53,6 @@ int ezusb_set_reset (struct usb_serial *serial, unsigned char reset_bit)
}
-EXPORT_SYMBOL(ezusb_writememory);
-EXPORT_SYMBOL(ezusb_set_reset);
+EXPORT_SYMBOL_GPL(ezusb_writememory);
+EXPORT_SYMBOL_GPL(ezusb_set_reset);
OpenPOWER on IntegriCloud