summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-18 13:18:34 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-02-16 15:11:04 -0800
commit6feb63b69f4f6e876ea5a2edc6119b8e7ac90102 (patch)
tree01816cbfd8d568297c0c5f32490e87e28242e489
parentae3a07924f0a31b96d52bf16bdf1713445a5a414 (diff)
downloadlinux-3.10-6feb63b69f4f6e876ea5a2edc6119b8e7ac90102.tar.gz
linux-3.10-6feb63b69f4f6e876ea5a2edc6119b8e7ac90102.tar.bz2
linux-3.10-6feb63b69f4f6e876ea5a2edc6119b8e7ac90102.zip
USB: s3c-hsotg: Export usb_gadget_register_driver()
USB gadget controller drivers normally export their driver registration function, allowing modular builds of the individual gadget drivers so do so for s3c-hsotg, fixing builds. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 4b5dbd0127f..5fc80a10415 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -2582,6 +2582,7 @@ err:
hsotg->gadget.dev.driver = NULL;
return ret;
}
+EXPORT_SYMBOL(usb_gadget_register_driver);
int usb_gadget_unregister_driver(struct usb_gadget_driver *driver)
{