]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace bIgnoreDisconnect with ignore_disconnect
authorTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 11:21:42 +0000 (04:21 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 11:21:42 +0000 (04:21 -0700)
Search and replace bIgnoreDisconnect with ignore_disconnect

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

index 14fa1b844b9ecd15b93cf4f69f009097af908335..d9010b2b5ad54c3005ecb65ce5be53e301d1ac4b 100644 (file)
@@ -397,7 +397,7 @@ struct musb {
 
        unsigned is_multipoint:1;
        unsigned is_host:1;
-       unsigned bIgnoreDisconnect:1;   /* during bus resets */
+       unsigned ignore_disconnect:1;   /* during bus resets */
 
        int                     a_wait_bcon;    /* VBUS timeout in msecs */
        unsigned long           idle_timeout;   /* Next timeout in jiffies */
index a432a4e21cabf80951ca963d74bad045d0aa13af..9ffbfe1e1e2e1e2fb3f8f0acb5cea5e47d1974e7 100644 (file)
@@ -690,7 +690,7 @@ static irqreturn_t musb_stage2_irq(struct musb * musb, u8 bIntrUSB,
        }
 #endif
 
-       if ((bIntrUSB & MGC_M_INTR_DISCONNECT) && !musb->bIgnoreDisconnect) {
+       if ((bIntrUSB & MGC_M_INTR_DISCONNECT) && !musb->ignore_disconnect) {
                DBG(1, "DISCONNECT (%s) as %s, devctl %02x\n",
                                otg_state_string(musb),
                                MUSB_MODE(musb), devctl);
index bebbaa1e288344e4fe1d04484cf976aa42806dad..89fc5a9eadb7a7ac604758df3b7a452139396bca 100644 (file)
@@ -145,7 +145,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
                        msleep(1);
                }
 
-               musb->bIgnoreDisconnect = TRUE;
+               musb->ignore_disconnect = TRUE;
                power &= 0xf0;
                musb_writeb(mbase, MGC_O_HDRC_POWER,
                                power | MGC_M_POWER_RESET);
@@ -158,7 +158,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
                musb_writeb(mbase, MGC_O_HDRC_POWER,
                                power & ~MGC_M_POWER_RESET);
 
-               musb->bIgnoreDisconnect = FALSE;
+               musb->ignore_disconnect = FALSE;
 
                power = musb_readb(mbase, MGC_O_HDRC_POWER);
                if (power & MGC_M_POWER_HSMODE) {