From a7092d46c6128e169014950915c8d3a96f587c0a Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 16 Aug 2007 01:30:50 -0700 Subject: [PATCH] musb_hdrc: Search and replace wRelease with hwvers Search and replace wRelease with hwvers Signed-off-by: Tony Lindgren --- drivers/usb/musb/plat_uds.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/musb/plat_uds.c b/drivers/usb/musb/plat_uds.c index 914d68460bf..a60e4b5333c 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 wRelease, wRelMajor, wRelMinor; + u16 hwvers, wRelMajor, wRelMinor; char aInfo[78], aRevision[32], aDate[12]; void __iomem *mbase = musb->mregs; int status = 0; @@ -1326,11 +1326,11 @@ static int __init musb_core_init(u16 wType, struct musb *musb) } /* log release info */ - wRelease = musb_readw(mbase, MUSB_HWVERS); - wRelMajor = (wRelease >> 10) & 0x1f; - wRelMinor = wRelease & 0x3ff; + hwvers = musb_readw(mbase, MUSB_HWVERS); + wRelMajor = (hwvers >> 10) & 0x1f; + wRelMinor = hwvers & 0x3ff; snprintf(aRevision, 32, "%d.%d%s", wRelMajor, - wRelMinor, (wRelease & 0x8000) ? "RC" : ""); + wRelMinor, (hwvers & 0x8000) ? "RC" : ""); printk(KERN_DEBUG "%s: %sHDRC RTL version %s %s\n", musb_driver_name, type, aRevision, aDate); -- 2.41.1