From: Tony Lindgren Date: Mon, 13 Aug 2007 11:31:36 +0000 (-0700) Subject: musb_hdrc: Search and replace bTestMode with test_mode X-Git-Tag: v2.6.23-omap1~228^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7d511499afc01107d07cca2a37ed4d1d16c0fe91;p=linux-2.6-omap-h63xx.git musb_hdrc: Search and replace bTestMode with test_mode Search and replace bTestMode with test_mode Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/g_ep0.c b/drivers/usb/musb/g_ep0.c index aa60a43fa4f..4d2838b4c5d 100644 --- 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) diff --git a/drivers/usb/musb/musbdefs.h b/drivers/usb/musb/musbdefs.h index a9d2ef607ac..7d044992065 100644 --- 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;