From: Pratyush Anand Date: Mon, 14 Jul 2014 13:57:48 +0000 (+0530) Subject: USB: Add EXPORT_SYMBOL for usb_alloc_dev X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=caa67a5ec8926188adcbece0df2ae60ceff534ae;p=deliverable%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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