1
0
Fork 0

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>
hifive-unleashed-5.1
Pratyush Anand 2014-07-14 19:27:48 +05:30 committed by Greg Kroah-Hartman
parent 977dcfdc60
commit caa67a5ec8
1 changed files with 1 additions and 0 deletions

View File

@ -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