Commit e62e057d authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace dwData with data

Search and replace dwData with data
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8626165a
...@@ -1247,7 +1247,7 @@ enum { MUSB_CONTROLLER_MHDRC, MUSB_CONTROLLER_HDRC, }; ...@@ -1247,7 +1247,7 @@ enum { MUSB_CONTROLLER_MHDRC, MUSB_CONTROLLER_HDRC, };
static int __init musb_core_init(u16 wType, struct musb *musb) static int __init musb_core_init(u16 wType, struct musb *musb)
{ {
#ifdef MUSB_AHB_ID #ifdef MUSB_AHB_ID
u32 dwData; u32 data;
#endif #endif
u8 reg; u8 reg;
char *type; char *type;
...@@ -1297,14 +1297,14 @@ static int __init musb_core_init(u16 wType, struct musb *musb) ...@@ -1297,14 +1297,14 @@ static int __init musb_core_init(u16 wType, struct musb *musb)
musb_driver_name, reg, aInfo); musb_driver_name, reg, aInfo);
#ifdef MUSB_AHB_ID #ifdef MUSB_AHB_ID
dwData = musb_readl(mbase, 0x404); data = musb_readl(mbase, 0x404);
sprintf(aDate, "%04d-%02x-%02x", (dwData & 0xffff), sprintf(aDate, "%04d-%02x-%02x", (data & 0xffff),
(dwData >> 16) & 0xff, (dwData >> 24) & 0xff); (data >> 16) & 0xff, (data >> 24) & 0xff);
/* FIXME ID2 and ID3 are unused */ /* FIXME ID2 and ID3 are unused */
dwData = musb_readl(mbase, 0x408); data = musb_readl(mbase, 0x408);
printk("ID2=%lx\n", (long unsigned)dwData); printk("ID2=%lx\n", (long unsigned)data);
dwData = musb_readl(mbase, 0x40c); data = musb_readl(mbase, 0x40c);
printk("ID3=%lx\n", (long unsigned)dwData); printk("ID3=%lx\n", (long unsigned)data);
reg = musb_readb(mbase, 0x400); reg = musb_readb(mbase, 0x400);
wType = ('M' == reg) ? MUSB_CONTROLLER_MHDRC : MUSB_CONTROLLER_HDRC; wType = ('M' == reg) ? MUSB_CONTROLLER_MHDRC : MUSB_CONTROLLER_HDRC;
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment