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

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

index 3ec7fb975238fd072a75b8b2f8eecb0486b7c30c..493b11c0b81cb55d12298b2fb152807e6905b933 100644 (file)
@@ -599,7 +599,7 @@ musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep)
        }
 
        /* target addr and (for multipoint) hub addr/port */
-       if (musb->bIsMultipoint) {
+       if (musb->is_multipoint) {
                musb_writeb(ep->target_regs, MGC_O_HDRC_RXFUNCADDR,
                        qh->addr_reg);
                musb_writeb(ep->target_regs, MGC_O_HDRC_RXHUBADDR,
@@ -720,7 +720,7 @@ static void musb_ep_program(struct musb *musb, u8 epnum,
                }
 
                /* target addr and (for multipoint) hub addr/port */
-               if (musb->bIsMultipoint) {
+               if (musb->is_multipoint) {
                        musb_writeb(mbase,
                                MGC_BUSCTL_OFFSET(epnum, MGC_O_HDRC_TXFUNCADDR),
                                qh->addr_reg);
@@ -748,7 +748,7 @@ static void musb_ep_program(struct musb *musb, u8 epnum,
                        musb_writeb(epio, MGC_O_HDRC_TXINTERVAL, qh->intv_reg);
                } else {
                        musb_writeb(epio, MGC_O_HDRC_NAKLIMIT0, qh->intv_reg);
-                       if (musb->bIsMultipoint)
+                       if (musb->is_multipoint)
                                musb_writeb(epio, MGC_O_HDRC_TYPE0,
                                                qh->type_reg);
                }
@@ -1850,7 +1850,7 @@ static int musb_urb_enqueue(
        qh->intv_reg = interval;
 
        /* precompute addressing for external hub/tt ports */
-       if (musb->bIsMultipoint) {
+       if (musb->is_multipoint) {
                struct usb_device       *parent = urb->dev->parent;
 
                if (parent != hcd->self.root_hub) {
index a0a4829ad8650b2305884242bbaebc785100f40d..694719494bd98ac81df8b6b3811852f667a62515 100644 (file)
@@ -490,7 +490,7 @@ static int dump_header_stats(struct musb *musb, char *buffer)
        *buffer = 0;
        count = sprintf(buffer, "Status: %sHDRC, Mode=%s "
                                "(Power=%02x, DevCtl=%02x)\n",
-                       (musb->bIsMultipoint ? "M" : ""), MUSB_MODE(musb),
+                       (musb->is_multipoint ? "M" : ""), MUSB_MODE(musb),
                        musb_readb(mbase, MGC_O_HDRC_POWER),
                        musb_readb(mbase, MGC_O_HDRC_DEVCTL));
        if (count <= 0)
index 2c47ff989ce0b4f4008c1a68a91ea4214c6f3b9f..14fa1b844b9ecd15b93cf4f69f009097af908335 100644 (file)
@@ -395,7 +395,7 @@ struct musb {
        /* active means connected and not suspended */
        unsigned                is_active:1;
 
-       unsigned bIsMultipoint:1;
+       unsigned is_multipoint:1;
        unsigned is_host:1;
        unsigned bIgnoreDisconnect:1;   /* during bus resets */
 
index 5cae90b11bc12d70bc128c09fce83c192af2abc6..a432a4e21cabf80951ca963d74bad045d0aa13af 100644 (file)
@@ -1310,10 +1310,10 @@ static int __init musb_core_init(u16 wType, struct musb *musb)
        aDate[0] = 0;
 #endif
        if (MUSB_CONTROLLER_MHDRC == wType) {
-               musb->bIsMultipoint = 1;
+               musb->is_multipoint = 1;
                type = "M";
        } else {
-               musb->bIsMultipoint = 0;
+               musb->is_multipoint = 0;
                type = "";
 #ifdef CONFIG_USB_MUSB_HDRC_HCD
 #ifndef        CONFIG_USB_OTG_BLACKLIST_HUB