]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace bSetAddress with set_address
authorTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 12:02:09 +0000 (05:02 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 12:02:09 +0000 (05:02 -0700)
Search and replace bSetAddress with set_address

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/g_ep0.c
drivers/usb/musb/musbdefs.h

index 0d77bae3cc2b71227ebc22a0834780303488d7ac..5f47b0ac652a6c2a02bd5470f4f3f473b9a79d08 100644 (file)
@@ -239,7 +239,7 @@ __acquires(musb->lock)
                switch (ctrlrequest->bRequest) {
                case USB_REQ_SET_ADDRESS:
                        /* change it after the status stage */
-                       musb->bSetAddress = TRUE;
+                       musb->set_address = TRUE;
                        musb->address = (u8) (ctrlrequest->wValue & 0x7f);
                        handled = 1;
                        break;
@@ -559,7 +559,7 @@ musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req)
         * the TX FIFO right away, and give the controller a moment
         * to switch modes...
         */
-       musb->bSetAddress = FALSE;
+       musb->set_address = FALSE;
        musb->ackpend = MGC_M_CSR0_P_SVDRXPKTRDY;
        if (req->wLength == 0) {
                if (req->bRequestType & USB_DIR_IN)
@@ -661,8 +661,8 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb)
                 * we get 10 msec to receive this irq... until this
                 * is done we won't see the next packet.
                 */
-               if (musb->bSetAddress) {
-                       musb->bSetAddress = FALSE;
+               if (musb->set_address) {
+                       musb->set_address = FALSE;
                        musb_writeb(mbase, MGC_O_HDRC_FADDR, musb->address);
                }
 
index 2465e230485009ea29f569ca0de29742684366c4..79e8da2ed9df7bb507350f8e40b83e9fadd39469 100644 (file)
@@ -437,7 +437,7 @@ struct musb {
        unsigned                is_self_powered:1;
        unsigned                is_bus_powered:1;
 
-       unsigned bSetAddress:1;
+       unsigned set_address:1;
        unsigned test_mode:1;
        unsigned softconnect:1;