summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorbrian@murphy.dk <brian@murphy.dk>2005-06-30 01:53:29 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-12 20:52:57 +0200
commita3fdf4ebe016ba756de3ca29a2a6117e9acd721c (patch)
tree8ace3f88ad0edfbf6152a45cfa21299a5fdbe17f /drivers/usb
parent[PATCH] USB: another cdc descriptor (diff)
downloadlinux-a3fdf4ebe016ba756de3ca29a2a6117e9acd721c.tar.xz
linux-a3fdf4ebe016ba756de3ca29a2a6117e9acd721c.zip
[PATCH] USB: export usb_get_intf() and usb_put_intf()
Export usb_get_intf and usb_put_intf so that modules can increase usb interface reference counts. Signed-off-by: brian@murphy.dk Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/usb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 7713a605fce7..99c85d2f92da 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -1532,6 +1532,9 @@ EXPORT_SYMBOL(usb_register);
EXPORT_SYMBOL(usb_deregister);
EXPORT_SYMBOL(usb_disabled);
+EXPORT_SYMBOL_GPL(usb_get_intf);
+EXPORT_SYMBOL_GPL(usb_put_intf);
+
EXPORT_SYMBOL(usb_alloc_dev);
EXPORT_SYMBOL(usb_put_dev);
EXPORT_SYMBOL(usb_get_dev);