Search and replace bDelayPortPowerOff with delay_port_power_off
Signed-off-by: Tony Lindgren <tony@atomide.com>
#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
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);
/* 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