aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_virthub.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-09-17 12:08:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 12:00:21 +0200
commitb36df0905ef808a8e9e46ded5f0b4967f21a2114 (patch)
tree79053738bde6337fc1087a99e9936fd3d47914e2 /drivers/usb/musb/musb_virthub.c
parentusb: misc: legousbtower: Fix NULL pointer deference (diff)
downloadlinux-dev-b36df0905ef808a8e9e46ded5f0b4967f21a2114.tar.xz
linux-dev-b36df0905ef808a8e9e46ded5f0b4967f21a2114.zip
musb: Export musb_root_disconnect for use in modules
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>
Diffstat (limited to 'drivers/usb/musb/musb_virthub.c')
-rw-r--r--drivers/usb/musb/musb_virthub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_virthub.c b/drivers/usb/musb/musb_virthub.c
index fe08e776fec3..61b5f1c3c5bc 100644
--- a/drivers/usb/musb/musb_virthub.c
+++ b/drivers/usb/musb/musb_virthub.c
@@ -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);
/*---------------------------------------------------------------------*/