diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2014-07-14 09:57:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-17 20:11:09 -0400 |
commit | caa67a5ec8926188adcbece0df2ae60ceff534ae (patch) | |
tree | 78ebece28dda3f266b3bd634d2a354968a630e7d /drivers/usb/core | |
parent | 977dcfdc60311e7aa571cabf6f39c36dde13339e (diff) |
USB: Add EXPORT_SYMBOL for usb_alloc_dev
usb_alloc_dev is used by lvstest driver now which can be built as
module. Therefore export usb_alloc_dev symbol.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 4d1144990d4c..2dd2362198d2 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c | |||
@@ -501,6 +501,7 @@ struct usb_device *usb_alloc_dev(struct usb_device *parent, | |||
501 | } | 501 | } |
502 | return dev; | 502 | return dev; |
503 | } | 503 | } |
504 | EXPORT_SYMBOL_GPL(usb_alloc_dev); | ||
504 | 505 | ||
505 | /** | 506 | /** |
506 | * usb_get_dev - increments the reference count of the usb device structure | 507 | * usb_get_dev - increments the reference count of the usb device structure |