From: Tony Lindgren Date: Mon, 13 Aug 2007 12:03:44 +0000 (-0700) Subject: musb_hdrc: Search and replace bRecip with recip X-Git-Tag: v2.6.23-omap1~228^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a71a647e43d764ddb9bfe9f8c34e681b52cbe18a;p=linux-2.6-omap-h63xx.git musb_hdrc: Search and replace bRecip with recip Search and replace bRecip with recip Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/g_ep0.c b/drivers/usb/musb/g_ep0.c index 5f47b0ac652..c85e60292dd 100644 --- a/drivers/usb/musb/g_ep0.c +++ b/drivers/usb/musb/g_ep0.c @@ -77,11 +77,11 @@ static int service_tx_status_request( void __iomem *mbase = musb->mregs; int handled = 1; u8 result[2], epnum = 0; - const u8 bRecip = ctrlrequest->bRequestType & USB_RECIP_MASK; + const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; result[1] = 0; - switch (bRecip) { + switch (recip) { case USB_RECIP_DEVICE: result[0] = musb->is_self_powered << USB_DEVICE_SELF_POWERED; result[0] |= musb->may_wakeup << USB_DEVICE_REMOTE_WAKEUP; @@ -231,7 +231,7 @@ __acquires(musb->lock) { int handled = -EINVAL; void __iomem *mbase = musb->mregs; - const u8 bRecip = ctrlrequest->bRequestType & USB_RECIP_MASK; + const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; /* the gadget driver handles everything except what we MUST handle */ if ((ctrlrequest->bRequestType & USB_TYPE_MASK) @@ -245,7 +245,7 @@ __acquires(musb->lock) break; case USB_REQ_CLEAR_FEATURE: - switch (bRecip) { + switch (recip) { case USB_RECIP_DEVICE: if (ctrlrequest->wValue != USB_DEVICE_REMOTE_WAKEUP) @@ -289,7 +289,7 @@ __acquires(musb->lock) break; case USB_REQ_SET_FEATURE: - switch (bRecip) { + switch (recip) { case USB_RECIP_DEVICE: handled = 1; switch (ctrlrequest->wValue) {