[PATCH 35/52] musb_hdrc: Search and replace bDelayPortPowerOff with delay_port_power_off

Tony Lindgren
2007-08-13T13:49:10Z

Search and replace bDelayPortPowerOff with delay_port_power_off

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/usb/musb/musbdefs.h | 2 +-
drivers/usb/musb/plat_uds.c | 2 +-
drivers/usb/musb/virthub.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/usb/musb/musbdefs.h
+++ b/drivers/usb/musb/musbdefs.h
@@ -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
--- a/drivers/usb/musb/plat_uds.c
+++ b/drivers/usb/musb/plat_uds.c
@@ -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);
--- a/drivers/usb/musb/virthub.c
+++ b/drivers/usb/musb/virthub.c
@@ -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
--
1.5.2.3