[PATCH 27/36] musb_hdrc: Search and replace wRelMajor with rev_major

Tony Lindgren
2007-08-16T09:40:50Z

Search and replace wRelMajor with rev_major

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/usb/musb/plat_uds.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/musb/plat_uds.c b/drivers/usb/musb/plat_uds.c
index be53a57..ceddd3b 100644
--- a/drivers/usb/musb/plat_uds.c
+++ b/drivers/usb/musb/plat_uds.c
@@ -1251,7 +1251,7 @@ static int __init musb_core_init(u16 wType, struct musb *musb)
#endif
u8 reg;
char *type;
- u16 hwvers, wRelMajor, wRelMinor;
+ u16 hwvers, rev_major, wRelMinor;
char aInfo[78], aRevision[32], aDate[12];
void __iomem *mbase = musb->mregs;
int status = 0;
@@ -1327,9 +1327,9 @@ static int __init musb_core_init(u16 wType, struct musb *musb)

/* log release info */
hwvers = musb_readw(mbase, MUSB_HWVERS);
- wRelMajor = (hwvers >> 10) & 0x1f;
+ rev_major = (hwvers >> 10) & 0x1f;
wRelMinor = hwvers & 0x3ff;
- snprintf(aRevision, 32, "%d.%d%s", wRelMajor,
+ snprintf(aRevision, 32, "%d.%d%s", rev_major,
wRelMinor, (hwvers & 0x8000) ? "RC" : "");
printk(KERN_DEBUG "%s: %sHDRC RTL version %s %s\n",
musb_driver_name, type, aRevision, aDate);
--
1.5.2.3