While building MUSB for Blackfin, a build error
can surface due to the empty default branch of
the switch statement.

In order to avoid the problem, just add a ; with
a comment.

Reported-by: Fengguang Wu <fengguang...@intel.com>
Signed-off-by: Felipe Balbi <ba...@ti.com>
---
 drivers/usb/musb/musb_gadget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index cc503591b634..b30ed129ddf3 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -1703,6 +1703,7 @@ static struct usb_ep *musb_match_ep(struct usb_gadget *g,
                        ep = gadget_find_ep_by_name(g, "ep2out");
                break;
        default:
+               /* nothing */ ;
        }
 
        if (ep && usb_gadget_ep_match_desc(g, ep, desc, ep_comp))
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to