1
0
Fork 0

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>
utp
Nobuhiro Iwamatsu 2011-07-11 11:03:47 +09:00 committed by Remy Bohmer
parent 093498669e
commit 0b09f54a26
1 changed files with 1 additions and 1 deletions

View File

@ -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);