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

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 a8f11c4f59fcdf1a6dde2e32ca87237d0b36e8fd..17c7cbebcd2d00b1ae7939e59772fc5d76ea6062 100644 (file)
@@ -451,7 +451,7 @@ struct musb {
 
 #ifdef CONFIG_USB_MUSB_OTG
        /* FIXME this can't be OTG-specific ... ? */
-       u8 bDelayPortPowerOff;
+       u8 delay_port_power_off;
 #endif
 
 #ifdef MUSB_CONFIG_PROC_FS
index f4089f0c11d7b48dbe963211975768cba9f8cdcb..b928a76161b221da463204b370e5fc97fa512fb8 100644 (file)
@@ -557,7 +557,7 @@ static irqreturn_t musb_stage0_irq(struct musb * musb, u8 bIntrUSB,
                if (is_peripheral_active(musb)) {
                        // REVISIT HNP; just force disconnect
                }
-               musb->bDelayPortPowerOff = FALSE;
+               musb->delay_port_power_off = FALSE;
                musb_writew(mbase, MGC_O_HDRC_INTRTXE, musb->wEndMask);
                musb_writew(mbase, MGC_O_HDRC_INTRRXE, musb->wEndMask & 0xfffe);
                musb_writeb(mbase, MGC_O_HDRC_INTRUSBE, 0xf7);
index 89fc5a9eadb7a7ac604758df3b7a452139396bca..5ad161455b702624440f8fccd6b75cc51f3858ab 100644 (file)
@@ -116,7 +116,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
        /* REVISIT this looks wrong for HNP */
        u8 devctl = musb_readb(mbase, MGC_O_HDRC_DEVCTL);
 
-       if (musb->bDelayPortPowerOff || !(devctl & MGC_M_DEVCTL_HM)) {
+       if (musb->delay_port_power_off || !(devctl & MGC_M_DEVCTL_HM)) {
                return;
        }
 #endif