musb: Export musb_root_disconnect for use in modules
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Sep 2016 10:08:10 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 10:00:21 +0000 (12:00 +0200)
Export musb_root_disconnect for use in modules, so that musb glue
code build as module can use it.

This fixes the buildbot errors for -next in arm64-allmodconfig
and arm-allmodconfig.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 7cba17ec9adc8cf ("musb: sunxi: Add support for platform_set_mode")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_virthub.c

index fe08e776fec3e874aaa06abf6c7f301f019d2672..61b5f1c3c5bcd12e53364e074b5a77ba60362ed5 100644 (file)
@@ -245,6 +245,7 @@ void musb_root_disconnect(struct musb *musb)
                        usb_otg_state_string(musb->xceiv->otg->state));
        }
 }
+EXPORT_SYMBOL_GPL(musb_root_disconnect);
 
 
 /*---------------------------------------------------------------------*/