]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace bTestMode with test_mode
authorTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 11:31:36 +0000 (04:31 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 11:31:36 +0000 (04:31 -0700)
Search and replace bTestMode with test_mode

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/g_ep0.c
drivers/usb/musb/musbdefs.h

index aa60a43fa4fd1f23a1263304f48080d5fa3b1351..4d2838b4c5d239d7ea9bcff4f11d15b755d02926 100644 (file)
@@ -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)
index a9d2ef607ac325c7c0fb0733bfdcce1a9793e051..7d044992065c012957904b9f9d228413729b2bbb 100644 (file)
@@ -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;