]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace wRelMinor with rev_minor
authorTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 08:31:56 +0000 (01:31 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 Aug 2007 10:35:07 +0000 (03:35 -0700)
Search and replace wRelMinor with rev_minor

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

index 23bd5c9565d253d780f91dd4ac9ae9e369fb1080..9f64945a733f6e6a06ccc94607ae12345d37c690 100644 (file)
@@ -1251,7 +1251,7 @@ static int __init musb_core_init(u16 wType, struct musb *musb)
 #endif
        u8 reg;
        char *type;
-       u16 hwvers, rev_major, wRelMinor;
+       u16 hwvers, rev_major, rev_minor;
        char aInfo[78], aRevision[32], aDate[12];
        void __iomem    *mbase = musb->mregs;
        int             status = 0;
@@ -1328,9 +1328,9 @@ static int __init musb_core_init(u16 wType, struct musb *musb)
        /* log release info */
        hwvers = musb_readw(mbase, MUSB_HWVERS);
        rev_major = (hwvers >> 10) & 0x1f;
-       wRelMinor = hwvers & 0x3ff;
+       rev_minor = hwvers & 0x3ff;
        snprintf(aRevision, 32, "%d.%d%s", rev_major,
-               wRelMinor, (hwvers & 0x8000) ? "RC" : "");
+               rev_minor, (hwvers & 0x8000) ? "RC" : "");
        printk(KERN_DEBUG "%s: %sHDRC RTL version %s %s\n",
                        musb_driver_name, type, aRevision, aDate);