[PATCH 28/52] musb_hdrc: Search and replace bIgnoreDisconnect with ignore_disconnect

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

Search and replace bIgnoreDisconnect with ignore_disconnect

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 | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)

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