projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41709f
)
USB: isp1362: fix inw warning on Blackfin systems
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 21 May 2010 08:37:42 +0000
(
04:37
-0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 4 Jun 2010 20:16:18 +0000
(13:16 -0700)
The Blackfin code is incorrectly casting the argument to inw() to a pointer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1362.h
patch
|
blob
|
history
diff --git
a/drivers/usb/host/isp1362.h
b/drivers/usb/host/isp1362.h
index
5151516
..
d995351
100644
(file)
--- a/
drivers/usb/host/isp1362.h
+++ b/
drivers/usb/host/isp1362.h
@@
-65,7
+65,7
@@
static inline void delayed_insw(unsigned int addr, void *buf, int len)
unsigned short *bp = (unsigned short *)buf;
while (len--) {
DUMMY_DELAY_ACCESS;
- *bp++ = inw(
(void *)
addr);
+ *bp++ = inw(addr);
}
}