diff options
author | Neil Zhang <zhangwm@marvell.com> | 2011-12-15 19:26:38 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-19 10:02:16 +0200 |
commit | 86bb702813010a0870c45d7f080669450a95be8d (patch) | |
tree | a37c53e051663be4bd2180fd0758cf559b9debfc /drivers/usb/gadget/mv_udc_core.c | |
parent | 8418153a4ccd38a3bc3229bc4bd161e3e5db88d2 (diff) |
usb: gadget: mv_udc: fix readl error
readl expected 'const volatile void *' as the argument.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mv_udc_core.c')
-rw-r--r-- | drivers/usb/gadget/mv_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index b229edeb2bb6..635ee47dd4eb 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c @@ -1196,7 +1196,7 @@ static int mv_udc_get_frame(struct usb_gadget *gadget) udc = container_of(gadget, struct mv_udc, gadget); - retval = readl(udc->op_regs->frindex) & USB_FRINDEX_MASKS; + retval = readl(&udc->op_regs->frindex) & USB_FRINDEX_MASKS; return retval; } |