summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.c
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2014-07-14 19:27:48 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-17 17:11:09 -0700
commitcaa67a5ec8926188adcbece0df2ae60ceff534ae (patch)
tree78ebece28dda3f266b3bd634d2a354968a630e7d /drivers/usb/core/usb.c
parent977dcfdc60311e7aa571cabf6f39c36dde13339e (diff)
downloadtalos-obmc-linux-caa67a5ec8926188adcbece0df2ae60ceff534ae.tar.gz
talos-obmc-linux-caa67a5ec8926188adcbece0df2ae60ceff534ae.zip
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/usb.c')
-rw-r--r--drivers/usb/core/usb.c1
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,
}
return dev;
}
+EXPORT_SYMBOL_GPL(usb_alloc_dev);
/**
* usb_get_dev - increments the reference count of the usb device structure
OpenPOWER on IntegriCloud