projects/linux·commit a3fdf4eb

[PATCH] USB: export usb_get_intf() and usb_put_intf()

a3fdf4eb · [email protected] <[email protected]> · 2005-06-29 16:53:29 -07:00

Export usb_get_intf and usb_put_intf so that modules can increase
usb interface reference counts.

Signed-off-by: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Commit
a3fdf4ebe016ba756de3ca29a2a6117e9acd721c
Parents
00ab997d

Changes

1 files changed · +3 −0

FileStatusAddDelContent
drivers/usb/core/usb.cmodified+3−0View file

drivers/usb/core/usb.c

View file
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 7713a60..99c85d2 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);