Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Pratyush Anand and committed by
Greg Kroah-Hartman
caa67a5e 977dcfdc

+1
+1
drivers/usb/core/usb.c
··· 501 501 } 502 502 return dev; 503 503 } 504 + EXPORT_SYMBOL_GPL(usb_alloc_dev); 504 505 505 506 /** 506 507 * usb_get_dev - increments the reference count of the usb device structure