diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2011-06-27 16:07:37 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2011-08-22 13:16:09 +0900 |
commit | 8f6d5f6af98029e9a9aaaf8ed08d321a14dcb263 (patch) | |
tree | b9ce984ee189dc3fa72dc7811af01fab2099ea9e /drivers | |
parent | efa4e1b98ac69929cee735cd115dd50ed9158e30 (diff) | |
download | u-boot-imx-8f6d5f6af98029e9a9aaaf8ed08d321a14dcb263.zip u-boot-imx-8f6d5f6af98029e9a9aaaf8ed08d321a14dcb263.tar.gz u-boot-imx-8f6d5f6af98029e9a9aaaf8ed08d321a14dcb263.tar.bz2 |
usb: r8a66597: Fix argument mistake of inl
Fail in build, because argument of inl used in r8a66597_read_fifo is wrong.
r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1
In file included from r8a66597-hcd.c:25:
r8a66597.h: In function ‘r8a66597_read_fifo’:
r8a66597.h:441: error: ‘inl’ undeclared (first use in this function)
r8a66597.h:441: error: (Each undeclared identifier is reported only once
r8a66597.h:441: error: for each function it appears in.)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/r8a66597.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h index 9af6446..ca1b671 100644 --- a/drivers/usb/host/r8a66597.h +++ b/drivers/usb/host/r8a66597.h @@ -438,7 +438,7 @@ static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597, count = len / 4; for (i = 0; i < count; i++) - inl(p[i], r8a66597->reg + offset); + p[i] = inl(r8a66597->reg + offset); if (len & 0x00000003) { unsigned long tmp = inl(fifoaddr); |