[PATCH 33/52] musb_hdrc: Search and replace bTestMode with test_mode

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

Search and replace bTestMode with test_mode

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

--- a/drivers/usb/musb/g_ep0.c
+++ b/drivers/usb/musb/g_ep0.c
@@ -333,7 +333,7 @@ __acquires(musb->lock)

/* enter test mode after irq */
if (handled > 0)
- musb->bTestMode = TRUE;
+ musb->test_mode = TRUE;
break;
#ifdef CONFIG_USB_MUSB_OTG
case USB_DEVICE_B_HNP_ENABLE:
@@ -667,7 +667,7 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb)
}

/* enter test mode if needed (exit by reset) */
- else if (musb->bTestMode) {
+ else if (musb->test_mode) {
DBG(1, "entering TESTMODE\n");

if (MGC_M_TEST_PACKET == musb->test_mode_nr)
--- a/drivers/usb/musb/musbdefs.h
+++ b/drivers/usb/musb/musbdefs.h
@@ -438,7 +438,7 @@ struct musb {
unsigned is_bus_powered:1;

unsigned bSetAddress:1;
- unsigned bTestMode:1;
+ unsigned test_mode:1;
unsigned softconnect:1;

enum musb_g_ep0_state ep0_state;
--
1.5.2.3