summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-09 00:35:22 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 07:24:19 -0700
commitf2984a333fb5e325d478950c9d8af3693869e69c (patch)
tree6a16467bbdb9cc0f44c240d3622571062d1f66e2 /drivers/usb
parent872f8b42544c58dfa241956d220ada115a8e93c7 (diff)
downloadlinux-3.10-f2984a333fb5e325d478950c9d8af3693869e69c.tar.gz
linux-3.10-f2984a333fb5e325d478950c9d8af3693869e69c.tar.bz2
linux-3.10-f2984a333fb5e325d478950c9d8af3693869e69c.zip
USB: gadget: fix Blackfin builds after gadget cleansing
The recent change to clean out dead gadget drivers (90f7976880bbbf99) missed the call to gadget_is_musbhsfc() behind CONFIG_BLACKFIN. This causes Blackfin gadget builds to fail since the function no longer exists anywhere. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/epautoconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
index 65a5f94cbc0..3568de210f7 100644
--- a/drivers/usb/gadget/epautoconf.c
+++ b/drivers/usb/gadget/epautoconf.c
@@ -266,7 +266,7 @@ struct usb_ep * __init usb_ep_autoconfig (
}
#ifdef CONFIG_BLACKFIN
- } else if (gadget_is_musbhsfc(gadget) || gadget_is_musbhdrc(gadget)) {
+ } else if (gadget_is_musbhdrc(gadget)) {
if ((USB_ENDPOINT_XFER_BULK == type) ||
(USB_ENDPOINT_XFER_ISOC == type)) {
if (USB_DIR_IN & desc->bEndpointAddress)